Commit graph

3715 commits

Author SHA1 Message Date
Connor McLaughlin 045eb8be76 HTTPDownloaderCurl: Set CURL_NOSIGNAL and block SIGPIPE 2021-04-20 12:25:28 +10:00
jpchow26 c86ff987eb Update game_database.cpp
fix windows build with missing include
2021-04-19 16:46:35 -04:00
Lioncash 113b4b71de core/types: Convert GPUDownsampleMode into an enum class
Prevents some generic-sounding identifiers from being put into the
global namespace.
2021-04-19 11:16:40 -04:00
Connor McLaughlin 5af6424324 CDROM: More conservative handling of INT1-while-pending-INT3 case 2021-04-19 15:39:44 +10:00
Connor McLaughlin 3106c797d9 CPU: Reduce severity of some log statements 2021-04-19 15:19:08 +10:00
Connor McLaughlin 62360d088a CDROM: Send IRQ1 for triple buffered sectors
Fixes hangs in loading in Eliminator and Colony Wars - Vengeance.
2021-04-19 15:19:08 +10:00
Connor McLaughlin 310e1830a0
Merge pull request #1990 from andercard0/patch-106
Update Japanese Translation by - Mikakunin
2021-04-19 15:18:49 +10:00
Connor McLaughlin 4977fcc21b
Merge pull request #1991 from zkdpower/master
Update Simple-Chinese language file to latest
2021-04-19 15:18:10 +10:00
zkdpower f2968633c3
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-04-19 11:21:04 +08:00
Anderson_Cardoso d15fdf9c3b
Update Japanese Translation by - Mikakunin
Update file to latest.
2021-04-18 22:22:59 -03:00
Connor McLaughlin c4891af00e GameList: Fix broken cover-by-file-title detection 2021-04-18 19:00:27 +10:00
Connor McLaughlin 308320c4e2
Merge pull request #1982 from zkdpower/master
Update Chinese language file to latest.
2021-04-18 13:53:44 +10:00
Connor McLaughlin a6cd7f383a
Merge pull request #1984 from ggrtk/cubeb-persist
CubebAudioStream: Set CUBEB_STREAM_PREF_PERSIST flag
2021-04-18 13:53:09 +10:00
Connor McLaughlin 021a3677f9
Merge pull request #1975 from soaresden/master
Duckstation - Adding F8 to change discs
2021-04-18 13:52:39 +10:00
Connor McLaughlin 64bd840195
Update common_host_interface.cpp 2021-04-18 13:52:17 +10:00
Albert Liu e9e4d4174b CubebAudioStream: Set CUBEB_STREAM_PREF_PERSIST flag
This is required for getting default IAudioClient behavior on the WASAPI
backend.
2021-04-17 20:37:49 -07:00
zkdpower f381fa8be6
Update Chinese language file to latest.
Update Chinese language file to latest.
2021-04-18 10:57:14 +08:00
soaresden b0bd4b8cfe Adding Shortcut to Change Disc
Adding ShortCut to F8

simplifying

simplifying the code
2021-04-17 19:16:43 +02:00
Connor McLaughlin 2a8fd2f60b GameList: Fix database getting unloaded and lost on double refresh 2021-04-18 01:36:21 +10:00
Connor McLaughlin ff8679cbee
Merge pull request #1973 from andercard0/patch-105
Atualização Português do Brasil
2021-04-18 01:35:17 +10:00
PugsyMAME d605d03995
Make Genre/Publisher/Developer/Year/Players fields sortable
Added the new gamelist fields to the GameListModel::lessThan routine to make them sortable.
2021-04-17 16:17:32 +01:00
Anderson_Cardoso 851533a84a
Atualização Português do Brasil
Update file to latest.
2021-04-17 10:36:55 -03:00
Connor McLaughlin e4d5d9f049 GPU/SW: Spin for 1ms rather than immediately sleeping 2021-04-17 22:17:02 +10:00
Connor McLaughlin d6d8d21eff Common/FileSystem: Make file functions content URI-aware 2021-04-17 21:52:26 +10:00
Connor McLaughlin 03f3f0369c GameList: Reduce number of system calls when scanning 2021-04-17 21:52:26 +10:00
Connor McLaughlin e1578be20f Common/FileSystem: Add BuildRelativePath() function 2021-04-17 21:52:26 +10:00
Connor McLaughlin 1b16662f17 System: Remove unused ParseM3UFile function 2021-04-17 21:52:26 +10:00
Connor McLaughlin 2985c395df GameList: Fix uninitialized fields of PSF/EXE 2021-04-17 21:52:26 +10:00
Connor McLaughlin 8ad0f78ef7 CommonHostInterface: Prefer serial from database, not image 2021-04-17 21:52:26 +10:00
Connor McLaughlin ff14e8aede Add JSON game database to replace dat parsing 2021-04-17 17:04:23 +10:00
Connor McLaughlin 6868ad4326 Bus: Don't reserve entire fastmem region on Android 2021-04-17 16:33:25 +10:00
Connor McLaughlin 88618bde1c GPU: Correct value of ODE bit in vblank
Fixes line streaks in Dead or Alive.
2021-04-15 01:32:08 +10:00
Connor McLaughlin 442b801d39 CPU: Implement cop0 execution and data breakpoints 2021-04-14 19:06:52 +10:00
Connor McLaughlin 22fdd80cc3 CPU/Interpreter: Out of range cop0 reads should be nops 2021-04-14 19:06:52 +10:00
Connor McLaughlin dd5277321b CPU/CachedInterpreter: Fix infinite loop when block compile fails 2021-04-14 19:06:52 +10:00
Connor McLaughlin 58f5c99100 Bus: Fix incorrect EPC for IBE exceptions 2021-04-14 19:01:43 +10:00
Connor McLaughlin 13b398ac46 GPU: Treat 0xFF commands as nops
Fixes slowdown in Soviet Strike and 40 Winks.
2021-04-13 13:18:51 +10:00
Connor McLaughlin 62718b3c50 Common/Timer: Add missing return when timer wait succeeds 2021-04-12 20:26:50 +10:00
Connor McLaughlin ca9dee85a2
Merge pull request #1959 from falsepopsky/updateSpanish
update spanish qt and android
2021-04-12 20:15:34 +10:00
Connor McLaughlin 3687f2d067 MemoryArena: Fix compile error on Mac 2021-04-12 20:09:53 +10:00
falsepopsky d3a14cb271 update qt spanish, and small translation for android 2021-04-11 14:35:10 -03:00
Connor McLaughlin e087e6f3a2 CPU/Recompiler: Prevent using fastmem when cache is isolated
No point even trying since it's just going to fault.
2021-04-12 02:08:56 +10:00
Connor McLaughlin 922d320523 CPU/Recompiler: Reserve whole fastmem region to avoid clashes 2021-04-11 12:42:51 +10:00
Connor McLaughlin 8df0496dc1 CDROM: Store last subq even when auto-pausing
Fixes track looping in Fighting Force PAL.
2021-04-11 12:36:52 +10:00
Connor McLaughlin 3c83ef4939 NoGUI: Fail startup if font atlas creation fails 2021-04-10 14:59:59 +10:00
Connor McLaughlin 6a0bd7ee64 CDROM: Clear setloc pending on redundant read
Fixes palette corruption in Joshikousei no Houkago... Pukunpa.
2021-04-10 14:52:15 +10:00
Connor McLaughlin 327e8f3f59 GPU/OpenGL: Switch back to framebuffer blits over shader copy
Ends up being slower on Mali.
2021-04-10 14:52:15 +10:00
Anderson_Cardoso 973ecd1e18
Tiny fix
Quick fix typo.
2021-04-09 23:22:46 -03:00
Connor McLaughlin 0644faa635 System: Disable memory cards when running PSFs 2021-04-08 11:34:15 +10:00
Connor McLaughlin deeb861918 CommonHostInterface: Fix rumble not applying to non-first controller 2021-04-08 11:33:59 +10:00
Connor McLaughlin fc9d276435 Android: Fix fast boot by default not applying without opening settings 2021-04-08 03:20:25 +10:00
Connor McLaughlin 22d664b210 GPU/ShaderGen: Move discard to end of shader
Possible workaround for this PowerVR driver issue.
2021-04-08 03:07:10 +10:00
Connor McLaughlin 19ca102b40 VulkanHostDisplay: Handle surface loss gracefully
Also skips a full swap chain recreate on resize.
2021-04-08 03:07:10 +10:00
Connor McLaughlin 0342d0a26e Vulkan/SwapChain: Fix incorrectly-sized display surfaces being created 2021-04-08 03:07:10 +10:00
Connor McLaughlin 32ac60414c NoGUI: Use current resolution if unspecified 2021-04-08 03:07:10 +10:00
shikulja ab4c026b2d
Update Russian translation (#1941)
* Update duckstation-qt_ru.ts

* Update duckstation-qt_ru.ts
2021-04-08 03:06:50 +10:00
Connor McLaughlin 6ce5330d75
Merge pull request #1938 from stenzek/file-offset-64
CDImagePBP: Use 64-bit file functions
2021-04-08 03:06:37 +10:00
Connor McLaughlin e595b357b3 CDImagePBP: Use 64-bit file functions
Fixes loading >2GB PBPs.
2021-04-07 18:30:54 +10:00
Connor McLaughlin c71f78ffa0 FileSystem: Add 64-bit fseek/ftell wrappers 2021-04-07 18:30:38 +10:00
zkdpower 8dd69ad149
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-04-06 14:34:57 +08:00
Connor McLaughlin 4ed12bcb52 GPU/OpenGL: Support MSAA without texel/SSBO buffers 2021-04-06 02:55:00 +10:00
Connor McLaughlin 2ed482132d GPU/OpenGL: Use shader instead of framebuffer blit 2021-04-06 02:19:56 +10:00
Connor McLaughlin 72e6291107 HTTPDownloader: Drop user agent from base class 2021-04-04 13:30:28 +10:00
Connor McLaughlin a8b2268e47
Merge pull request #1917 from falsepopsky/updateSpanish
spanish translation qt updated
2021-04-04 13:25:37 +10:00
Connor McLaughlin f6194e2785
Merge pull request #1910 from andercard0/patch-103
Atualização Português do Brasil
2021-04-04 13:25:15 +10:00
Connor McLaughlin 4062d6c015 Cheevos: Provide OS and arch in user agent 2021-04-04 13:02:02 +10:00
Connor McLaughlin 2ac6f60bbb Rename cpu_detect.h to platform.h and add OS 2021-04-04 13:01:43 +10:00
Connor McLaughlin d41b5be908 HTTPDownloader: Fix user agent sending on Windows/Android 2021-04-04 12:55:03 +10:00
falsepopsky 0ebe87be41 spanish translation qt updated 2021-04-03 20:50:38 -03:00
Anderson_Cardoso 334470d40a
Atualização Português do Brasil
Update file to latest
2021-04-03 15:33:14 -03:00
Connor McLaughlin 251043f11a OSD: Add controller input display overlay 2021-04-04 04:08:42 +10:00
Connor McLaughlin bb21a062d8 Android: Add support for GunCon 2021-04-03 14:59:51 +10:00
Connor McLaughlin acff275f6b WindowInfo: Fix macOS build 2021-04-03 03:03:42 +10:00
Connor McLaughlin 6c59e769ed FullscreenUI: Fix double display of stats with debug menu 2021-04-03 02:53:28 +10:00
Connor McLaughlin 924756860e HostDisplay: Support refresh rate queries on all platforms except Mac 2021-04-03 02:53:28 +10:00
Connor McLaughlin e94c68e874 Qt: Update Japanese translation by mikakunin 2021-04-02 12:32:24 +10:00
Connor McLaughlin 65f99f89ff CDImagePBP: Improve handling of broken images from PSX2PSP 2021-04-01 16:26:21 +10:00
Connor McLaughlin 9bf805c2af Pad: Fix crash with mismatched cards in save state 2021-04-01 02:29:59 +10:00
Connor McLaughlin 872a9b95c7 Android: Remove quick menu hotkey
It has its own quick menu hotkey.
2021-04-01 02:29:59 +10:00
Connor McLaughlin 7e11987ba8
Merge pull request #1890 from LOuroboros/typo
Corrected a typo in the emulator's settings
2021-04-01 02:29:38 +10:00
Connor McLaughlin c825292a93
Merge pull request #1886 from MaddTheSane/morePrintfLike
More printflike macros
2021-04-01 02:29:05 +10:00
LOuroboros 5a751ff3be Corrected a typo
"safe to enabled" -> "safe to enable"
2021-03-30 19:58:47 -03:00
C.W. Betts b8e85798a6 Fix wrong printflike for FormattedError in Cheevos. 2021-03-29 14:04:23 -06:00
C.W. Betts e4735bcf7a Fix string formatting warnings. 2021-03-29 13:59:22 -06:00
C.W. Betts fb7a8886f1 Add more printflike macros. 2021-03-29 13:56:19 -06:00
Connor McLaughlin df5de7730c GPU/HW: Disable depth buffering on transparent polygons
These are the most likely to be coplanar and cause issues.
2021-03-30 01:40:05 +10:00
C.W. Betts 3af624b98e
Update error.h
Add printflike macros to the Error class.
2021-03-28 14:37:50 -06:00
Connor McLaughlin 1973419021 Settings: Disable region check by default 2021-03-29 00:53:15 +10:00
Connor McLaughlin ddea2818d9 Qt: Add renderer/resolution to status bar 2021-03-28 13:47:53 +10:00
Connor McLaughlin dec2d48bfe System: Fix crash when launching exe/psf 2021-03-28 13:47:53 +10:00
Connor McLaughlin a9c026f06a Settings: Rename 'FPS' to 'Game Frame Rate' 2021-03-28 13:47:53 +10:00
Connor McLaughlin 85c5b99b7a CDROM: GetID should return error when no disc 2021-03-28 13:47:52 +10:00
zkdpower afbef51b1a
Update Simple-Chinese language file to latest (#1874)
* Update Simple-Chinese language file to latest

Update Simple-Chinese language file to latest

* Update Simple-Chinese language file to latest

Update Simple-Chinese language file to latest
2021-03-28 13:47:41 +10:00
Anderson_Cardoso 8cfed68ae9
Atualização Português do Brasil
Update file to latest
2021-03-27 12:54:20 -03:00
Connor McLaughlin e9aab649e5 GameList: Bump cache version
Force playlists to re-scan.
2021-03-27 17:31:20 +10:00
Connor McLaughlin 3f7d8604e5 Qt: Add 'Memory Card Editor' button to memory card settings 2021-03-27 17:14:10 +10:00
Connor McLaughlin 47ba6e7449 GL/Context: Better handle resizing with GLX
Fixes fullscreen having no effect when running under XWayland.
2021-03-27 16:14:34 +10:00
Connor McLaughlin 5df28eff9d System: Fix failing to load new single disc save states 2021-03-27 15:43:42 +10:00
Connor McLaughlin fa2525324e CDImage: Fix Linux build 2021-03-27 15:34:15 +10:00
Connor McLaughlin 5aa70cf797 Settings: Add memory card directory option 2021-03-27 15:18:29 +10:00
Connor McLaughlin f829933a83 Qt: Rework/simplify change disc menu 2021-03-27 15:18:29 +10:00
Connor McLaughlin e83f312928 CDImagePBP: Add multi-disc support 2021-03-27 15:18:29 +10:00
Connor McLaughlin 50d712c3fe CDImage: Support sub-images, use subimages for m3u 2021-03-27 15:18:29 +10:00
Connor McLaughlin 573aa6d9cc FullscreenUI: Fix missing window title with playlist 2021-03-27 13:44:59 +10:00
Connor McLaughlin 97682e09ab Pad: Don't apply input state when load-from-devices is off 2021-03-27 13:42:32 +10:00
Connor McLaughlin ff411dac2e DigitalController: Fix buttons getting broken when load-from-state on 2021-03-27 13:42:06 +10:00
Connor McLaughlin 9bbddc7b3a
Merge pull request #1871 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-27 12:49:45 +10:00
Connor McLaughlin 781e8f1867
Merge pull request #1659 from piepacker/jake/multitap_8x_devices_in_state
pad: improve messaging when UI config doesn't match savestate config, and document some edge cases
2021-03-27 12:49:31 +10:00
zkdpower a660c706de
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-26 17:53:45 +08:00
Connor McLaughlin f1fb7383b7 DInputControllerInterface: Support diagonals in hat 2021-03-25 13:50:13 +10:00
Connor McLaughlin 03905b8f2e Remove stub duckstation-sdl binary
It's been a stub for a while.
2021-03-25 13:33:48 +10:00
Connor McLaughlin c502f8b0a6 GPU/Vulkan: Fix box downsampling using incorrect texture 2021-03-25 13:33:48 +10:00
Albert Liu d10365c60e System: Fix message crash for missing CD image 2021-03-22 19:17:04 -07:00
Jake Stine 96344799a0 pad: improve UI messaging when UI config doesn't match savestate config, and document some edge cases. 2021-03-21 13:25:46 -07:00
Jake Stine 6449207e04 pad: remove unreachable code block in DoState
The block in question was introduced by changesets:
  47f0720b93
  125d104df4
2021-03-21 12:31:58 -07:00
Connor McLaughlin da7fa835fe
Merge pull request #1850 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-21 15:40:33 +10:00
zkdpower 132a485066
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-21 10:28:15 +08:00
Connor McLaughlin 4dec0dee2f MemoryCardImage: Support passing import buffers in 2021-03-21 02:55:48 +10:00
Connor McLaughlin 3aaf1d942b
Merge pull request #1842 from Max833/master
Qt: Update German translation
2021-03-21 02:51:59 +10:00
Connor McLaughlin e343fd2b59
Merge pull request #1843 from andercard0/patch-101
Atualização Português do Brasil
2021-03-21 02:51:50 +10:00
Connor McLaughlin a6a3590722
Merge pull request #1840 from stenzek/map-jit
CPU/Recompiler: Use MAP_JIT for code space on Apple Silicon
2021-03-21 02:51:45 +10:00
Anderson_Cardoso d3461349d8
Atualização Português do Brasil
Update file to latest
2021-03-19 15:01:23 -03:00
Max833 818bdac464
Update duckstation-qt_de.ts 2021-03-19 18:46:50 +01:00
Connor McLaughlin 76d30282e0 Qt: Fix translatability of memory card editor tooltips 2021-03-20 03:05:18 +10:00
Connor McLaughlin 8b7e2b525e CPU/Recompiler: Tiny optimization for div on x64 2021-03-20 03:03:16 +10:00
Connor McLaughlin 7d634ca278
Merge pull request #1839 from ggrtk/memcard-editor
Qt/MemoryCardEditor: Minor update
2021-03-20 03:02:18 +10:00
Connor McLaughlin b30ecca872
Merge pull request #1838 from ggrtk/pbp
CDImagePBP: Split disc loading into separate method
2021-03-20 03:00:59 +10:00
Anderson_Cardoso 5907a721a6
Atualização Português do Brasil
Update file to latest.
2021-03-19 08:27:00 -03:00
Connor McLaughlin 5bbbb8d3d5 CPU/Recompiler: Use MAP_JIT for code space on Apple Silicon 2021-03-19 18:47:31 +10:00
Connor McLaughlin 663dc496bf CPU/Recompiler: Tiny optimization for div on x64 2021-03-19 18:06:25 +10:00
Albert Liu d7196f1f85 Qt/MemoryCardEditor: Add tool tips for new card and open card buttons 2021-03-18 18:21:53 -07:00
Albert Liu 39d1628da5 Qt/MemoryCardEditor: Set combobox indices to 0 on close event
Fixes persisting dirty card state when reopening memory card editor.
2021-03-18 18:04:25 -07:00
Albert Liu 02e8e2b071 CDImagePBP: Split disc loading into separate method 2021-03-18 16:51:09 -07:00
Connor McLaughlin 25d4060bce CDROM: Hold position at end of track, not start of next 2021-03-19 01:58:43 +10:00
Connor McLaughlin 11dcba1b68 CDImage: Use Error class for complex errors 2021-03-19 01:58:00 +10:00
Connor McLaughlin 955afc3182 Common: Add Error helper class 2021-03-19 01:52:50 +10:00
Albert Liu 12ff343206 CDImagePBP: Log error message when skipping encrypted files 2021-03-17 20:24:04 -07:00
Connor McLaughlin b13c51a2e2 GPU/SW: Use new 5-to-8 converters for RGBA8 display 2021-03-18 13:00:58 +10:00
Connor McLaughlin 6c05413220 GPU: Improve precision of 5-to-8 bit conversion for HW renderers
Fixes VRAM transfers being corrupted in fallback OpenGL path.
2021-03-18 13:00:58 +10:00
Connor McLaughlin 391114ccae GPU/OpenGL: Only use one upload path and clamp to max SSBO size 2021-03-18 13:00:58 +10:00
Connor McLaughlin 703715724e GPU/SW: Remove unused 5-to-8 conversion functions 2021-03-18 13:00:58 +10:00
Connor McLaughlin 4441bb1a91 CDROM: Apply volume on output not sector read
Fixes audio starting too late in Mega Man Legends.
2021-03-18 13:00:58 +10:00
Connor McLaughlin 37ec1dd7e4
Merge pull request #1830 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-18 13:00:47 +10:00
falsepopsky dbedb8d5d6 update spanish qt, new config to block blank issues 2021-03-17 19:52:31 -03:00
zkdpower 7675f3b48a
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-17 17:31:39 +08:00
Connor McLaughlin 1e1d864e0a
Merge pull request #1827 from andercard0/patch-99
Atualização Português do Brasil
2021-03-17 13:18:37 +10:00
Connor McLaughlin 9a283b1867 Qt: Update Japanese translation by mikakunin 2021-03-17 13:18:14 +10:00
Anderson_Cardoso 0889fd6851
Atualização Português do Brasil
Minor update file.
2021-03-16 13:57:45 -03:00
Connor McLaughlin af237a7e78 Qt: Add .pbp to all open->all file types 2021-03-17 00:59:36 +10:00
Connor McLaughlin 1911a25a9f System: Add warning if CD-ROM read speedup is enabled on startup 2021-03-17 00:58:09 +10:00
Connor McLaughlin 3dc53dd93c Qt/AchievementSettings: Fix view profile button being disabled 2021-03-17 00:51:13 +10:00
Connor McLaughlin 4c76d88728 Cheevos: Fix panic when logging in with fullscreen UI disabled 2021-03-17 00:51:13 +10:00
Albert Liu 46ff2b553d CDImage: Add support for loading PBP images 2021-03-15 20:06:39 -07:00
Connor McLaughlin a0086851ce Qt: Fix double-clicking psexes/psfs in game list 2021-03-16 01:59:17 +10:00
Connor McLaughlin 299ba60b8d XInput: Fix trigger magnitude being doubled 2021-03-16 01:59:17 +10:00
Connor McLaughlin dccbc59246
Merge pull request #1816 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-16 01:02:20 +10:00
zkdpower 95806859a6
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-15 18:08:16 +08:00
Connor McLaughlin a8fd4d5bbd HTTPDownloaderWinHttp: Hopefully fix issue on Windows <8.1 2021-03-15 01:46:26 +10:00
Connor McLaughlin ee171465ea CommonHostInterface: Move controller ID parsing to interface 2021-03-14 19:32:03 +10:00
Connor McLaughlin 26a0a7b20c
Merge pull request #1802 from andercard0/patch-96
Atualização Português do Brasil
2021-03-14 19:31:05 +10:00
Albert Liu 49c65cf5dd AnalogController: Only panic on unknown config mode commands 2021-03-14 00:40:36 -08:00
Anderson_Cardoso 21db6b7e48
Atualização Português do Brasil
Update file to latest.
2021-03-13 16:33:35 -03:00
Connor McLaughlin cf7b167359
Merge pull request #1797 from stenzek/android-cheevos
Android: Implement RetroAchievements
2021-03-14 03:17:25 +10:00
Max833 14ae73c137
Update duckstation-qt_de.ts 2021-03-13 18:13:48 +01:00
Connor McLaughlin 6bced299f4 Android: Add AndroidHTTPDownloader class 2021-03-14 02:21:15 +10:00
Connor McLaughlin 566ecaf209 Cheevos: Remove redundant message on login 2021-03-14 02:21:05 +10:00
Connor McLaughlin 658184f85f GameSettings: Fix SSAA always showing on Android 2021-03-14 02:19:51 +10:00
Connor McLaughlin fa03038cef Cheevos: Clear login timestamp on logout 2021-03-14 02:01:48 +10:00
Connor McLaughlin 28e52e53e7 FullscreenUI: Allow tweaking notification vertical position 2021-03-14 02:01:48 +10:00
Connor McLaughlin c062cc2c26 GPU/Vulkan: Fix UBO hazard across cmdbuffers 2021-03-14 02:01:48 +10:00
Connor McLaughlin 05f6f8579f GPU/Vulkan: Fix SSAA being near ineffective 2021-03-14 02:01:48 +10:00
Connor McLaughlin 0feb817130 ShaderGen: Disable interface blocks when using AMD OpenGL
SSAA/per sample shading is broken otherwise.
2021-03-14 02:01:48 +10:00
Connor McLaughlin d20d616823
Merge pull request #1799 from PugsyMAME/master
Updated chtdb.txt and added new types F5, 52 & 53. Cleaned up type 51
2021-03-14 02:01:20 +10:00
Connor McLaughlin 4d2747fe74
Merge pull request #1792 from CookiePLMonster/plurality-pass
Plurality for non-Qt messages
2021-03-14 01:58:14 +10:00
PugsyMAME 0fd593eb42
Updated chtdb.txt and added new types F5, 52 & 53. Cleaned up type 51
Chtdb.txt
=========
Updated the header to document all the new cheat types, added some more cheats
and cleaned up others.

New Cheat Types:-
=================
F5 - 16-Bit toggle cheat, predominatly used with the D7 cheat to enable/disable
      ASM cheats with the same key presses. See chtdb.txt for more information.

52 - Register Block Conditionals for use with the type 51 cheats. There are 128 
      sub types. See chtdb.txt for more information.
      
53 - Improved Slide Code cheat type, with support for 65536 addresses and a 16
      bit step and easily configurable step direction for value and address.
      See chtdb.txt for more information.      

Other Changes:-
===============
51 - Cleaned up - renumbered/renamed, Tested & Bugfixed. See chtdb.txt for more 
      information.
2021-03-13 15:21:40 +00:00
Silent 5515a581e0
Update PL localization 2021-03-12 21:49:55 +01:00
Silent 6350bb0e36
Hook up plurality to OSD messages 2021-03-12 21:40:24 +01:00
Silent 948a6b530b
Make TranslateString and TranslateStdString support numbers 2021-03-12 20:03:25 +01:00
Silent 787ab5dbd0
String: Add a new constructor 2021-03-12 19:59:39 +01:00
Connor McLaughlin 6fa245ed61 Cheats: Fix parsing database when game has one code 2021-03-13 03:06:56 +10:00
Connor McLaughlin 82749d1ba3 GPU/HW: Increase streaming buffer sizes to 4MB/2MB 2021-03-13 03:06:56 +10:00
Connor McLaughlin f044818a7c Vulkan/StreamBuffer: Fix allocations getting stuck 2021-03-13 03:06:55 +10:00
Connor McLaughlin 5e07b23cfb
Merge pull request #1786 from falsepopsky/updateSpanish
spanish lang... update
2021-03-12 03:17:31 +10:00
Connor McLaughlin 97adebba3a
Merge pull request #1775 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-12 03:17:25 +10:00
Connor McLaughlin 39e75180d0
Merge pull request #1773 from andercard0/patch-95
Atualização Português do Brasil
2021-03-12 03:17:15 +10:00
Connor McLaughlin e10271e18b GameList: Allow webp covers
Currently only enabled for Qt/Android, nogui lacks a decoder.
2021-03-12 03:06:11 +10:00
Connor McLaughlin 7241876cc7 CommonHostInterface: Fix -settings on cmdline not applying 2021-03-12 03:02:57 +10:00
Connor McLaughlin 14a98c3c9e CommonHostInterface: Fix reset settings not saving on startup 2021-03-12 03:02:45 +10:00
Connor McLaughlin 4685d66a2b Qt: Implement drag/drop file on main window 2021-03-12 02:50:17 +10:00
Connor McLaughlin eca0b51008 GameSettings: Fix incorrect key for texture filter load from ini 2021-03-12 02:18:50 +10:00
Connor McLaughlin d150a2ccc3 Qt: Only enable view->game properties for game list entry 2021-03-12 02:18:47 +10:00
falsepopsky ea01c5c663 spanish update duckstation-qt_es 2021-03-10 22:25:14 -03:00
zkdpower 64522ce938
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-10 04:03:56 +08:00
Connor McLaughlin ebfbae8dd1 Vulkan/StreamBuffer: Prevent skipping fance when wrapping around 2021-03-10 01:08:08 +10:00
Anderson_Cardoso 061770b162
Atualização Português do Brasil
Update and fixes.
2021-03-09 11:02:06 -03:00
Connor McLaughlin 36ff345e60 Revert "GL/Context: Disable GLES3.2 on PowerVR Rogue"
Broken driver is just broken. Not much I can do when I don't have one of
these phones and the shader compiler simply says "failure" without any
line information.
2021-03-09 17:25:58 +10:00
Connor McLaughlin 272daedc46 GameSettings: Don't display message for icache force enable
This likely isn't something the user has explicitly enabled, therefore
no need to spam them with the override.
2021-03-09 17:24:46 +10:00
Connor McLaughlin 31a9e1b049
Merge pull request #1770 from CookiePLMonster/lock-login-button
Achievements Login: Lock "Login" button if credentials are not entered
2021-03-09 17:18:11 +10:00
Connor McLaughlin f8f7c63b55
Merge pull request #1768 from CookiePLMonster/update-pl-loc
Update PL localization + fixes
2021-03-09 17:17:43 +10:00
Silent 08b2f6c715
AchievementLoginDialog: Lock out "Login" if fields aren't filled 2021-03-08 21:10:55 +01:00
Silent 435a848559
FullscreenUI: Close menus on Cancel button edge only
Now requires the button to be released, THEN pressed
2021-03-08 20:42:32 +01:00
Silent 3849ec449b
Revert "CommonHostInterface: Use key-release to open quick menu"
This reverts commit e0161c3bb2.
2021-03-08 20:16:38 +01:00
Silent 6fb4d29930
Update PL localization 2021-03-08 19:59:17 +01:00
Silent 4ee93d5200
Add disambiguation in AchievementLoginDialog 2021-03-08 19:57:30 +01:00
Silent 2280fc9806
Fixup plurality in QtHostInterface::OnAchievementsRefreshed 2021-03-08 19:57:10 +01:00
Connor McLaughlin 4e2ee86c1a GPU/Vulkan: Fix incorrect layout in ClearDepthBuffer() 2021-03-08 17:44:10 +10:00
Connor McLaughlin 535fef88c5 GL/Context: Drop unnecessary macro check 2021-03-08 17:28:34 +10:00
Connor McLaughlin fdc7066ead
Merge pull request #1717 from stenzek/ram-reads
Bus: Increase the number of ticks for RAM reads
2021-03-08 17:27:46 +10:00
Connor McLaughlin 2da106391a
Merge pull request #1759 from andercard0/patch-94
Atualização Português do Brasil
2021-03-08 11:49:23 +10:00
Connor McLaughlin bce45b468a
Merge pull request #1762 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-08 11:48:58 +10:00
Connor McLaughlin e0161c3bb2 CommonHostInterface: Use key-release to open quick menu
Fixes auto closing when it's bound to escape.
2021-03-08 11:45:48 +10:00
Connor McLaughlin e2694b2570 Cheevos: Fix unlimited fast forward in hardcode mode 2021-03-08 11:44:02 +10:00
Connor McLaughlin a559139105 GPU/OpenGL: Also check number of fragment storage blocks 2021-03-08 11:40:34 +10:00
Connor McLaughlin 9eae20128d GPU/OpenGL: Remove now-unnecessary geometry shader check 2021-03-08 11:37:03 +10:00
Connor McLaughlin ad7e0d48c6 ShaderGen: Try disabling GLSL ES 3.2 on PowerVR 2021-03-08 11:34:17 +10:00
zkdpower cc68e2931b
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-08 08:50:24 +08:00
Anderson_Cardoso c1c090fb7c
Atualização Português do Brasil
Update file to latest.
2021-03-07 15:05:09 -03:00
Connor McLaughlin 5e0ebb5d5f SDLControllerInterface: Don't crash on unbound hat index 2021-03-08 02:48:18 +10:00
Connor McLaughlin 6333daaddc Qt: Add note about quick menu to achievement settings 2021-03-08 02:05:50 +10:00
Connor McLaughlin 9f83dfbc15 Qt: Update Japanese translation by mikakunin 2021-03-08 01:53:26 +10:00
Connor McLaughlin 1893bfd248 Cheevos: Don't choke on long passwords 2021-03-08 01:53:26 +10:00
Connor McLaughlin a0e97059f5 Qt: Allow binding keyboard keys via fullscreen UI 2021-03-08 01:53:26 +10:00
Connor McLaughlin 39498cda10 FullscreenUI: Make right click on binding clear it 2021-03-08 01:53:26 +10:00
Connor McLaughlin 13e5769e42
Merge pull request #1753 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-07 19:35:22 +10:00
Connor McLaughlin 627f147a90 Support compiling for FreeBSD 2021-03-07 19:35:02 +10:00
Connor McLaughlin 3f5d6ee025 CommonHostInterface: FixIncompatibleSettings() should be marked override 2021-03-07 17:35:02 +10:00
Connor McLaughlin db17baba1b GL/Context: Disable GLES3.2 on PowerVR Rogue
It's choking on our shaders, maybe it's the I/O blocks or texture
buffers?
2021-03-07 17:34:29 +10:00
Connor McLaughlin ee190ef561 CDROM: Fix typo in ResetPhysicalPosition() 2021-03-07 17:34:16 +10:00
Connor McLaughlin 753dd0480f CDImage: Add support for loading mds/mdf images 2021-03-07 16:26:15 +10:00
zkdpower b903369d2c
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-07 11:58:29 +08:00
Connor McLaughlin 320394fbd1 ShaderGen: Fix GLSL emitting location = 00 2021-03-07 02:55:37 +10:00
Connor McLaughlin 6bbb1128b6 System: Hash executable for game code when system.cnf missing 2021-03-07 02:47:00 +10:00
Connor McLaughlin ac4dd11fa0 CDImage: Add support for ECM images 2021-03-07 02:47:00 +10:00
Connor McLaughlin fd7d77bc70
Merge pull request #1736 from PugsyMAME/master
Added new cheat cheat types: C3, C4, C5, C6, D7&52
2021-03-07 02:46:50 +10:00
zkdpower 0db164bfb2
Update Simple-Chinese language file to latest (#1750)
* Update Simple-Chinese language file to latest 

Update Simple-Chinese language file to latest

* Update Simple-Chinese language file to latest

Update Simple-Chinese language file to latest
2021-03-06 15:44:56 +10:00
Anderson_Cardoso 9c78320351
Atualização Português do Brasil
Update file to latest.
2021-03-05 16:53:56 -03:00
Connor McLaughlin ae17ade117 FullscreenUI: Add missing stretch/internal res screenshot options 2021-03-06 02:22:35 +10:00
Connor McLaughlin 359d1509be Qt: Add option for internal/window resolution screenshots 2021-03-06 02:22:28 +10:00
Connor McLaughlin 2aea58d056 HostDisplay: Add method to render screenshots at window size 2021-03-06 02:21:27 +10:00
Connor McLaughlin 757bef7b6d Common/D3D11: Stride should be byte width 2021-03-06 02:21:27 +10:00
Connor McLaughlin bf5f53e1d1 CPU/CodeCache: Don't choke on indirect -> direct branch in delay slot 2021-03-06 02:21:27 +10:00
Silent 84bec06a90
Use QString::number where applicable 2021-03-05 12:59:28 +01:00
Silent c0b7ee5722
Fix "Stretch to fill" widget help 2021-03-05 12:59:28 +01:00
Silent edeed89648
Add support for plural forms in Qt forms 2021-03-05 12:59:28 +01:00
Connor McLaughlin 4436e86a46
Merge pull request #1742 from andercard0/patch-92
Atualização Português do Brasil
2021-03-05 16:10:52 +10:00
Albert Liu 50a78489f2 MemoryCardImage: Implement save file importing and exporting 2021-03-04 20:50:20 -08:00
Albert Liu e939507f42 Qt/MemoryCardEditor: Handle switching to empty path at combobox index 0 2021-03-04 17:51:17 -08:00
Albert Liu 0218006e1b Qt/MemoryCardEditor: Remove unused context help button 2021-03-04 16:55:44 -08:00
Albert Liu 3088138c3c Qt/MemoryCardEditor: Remove duplicate browse functionality 2021-03-04 16:42:26 -08:00
Albert Liu f112222fae Qt/MemoryCardEditor: Prevent duplicate filenames when copying saves 2021-03-04 16:18:20 -08:00
Albert Liu 47e2cd382b Qt/MemoryCardEditor: Increase default filename column size 2021-03-04 15:37:27 -08:00
Albert Liu 645ce6658c Qt/MemoryCardEditor: Don't show blocks label when no card is selected 2021-03-04 15:21:40 -08:00
Anderson_Cardoso 7f77e8e7dd
Atualização Português do Brasil
Update file to latest
2021-03-04 19:31:40 -03:00
Connor McLaughlin c3d2999d78 Qt: Don't pass key input to controllers/hotkeys when ImGui has focus 2021-03-05 01:13:17 +10:00
Connor McLaughlin 767343ca22 FullscreenUI: Prevent quick menu opening over other windows 2021-03-05 01:12:56 +10:00
Connor McLaughlin 521ade025c System: Make hardware renderer init failure an OSD message 2021-03-05 01:05:16 +10:00
Connor McLaughlin ccda1553b7 Qt: Fix crash when loading input profile and multitap disabled 2021-03-05 00:58:48 +10:00
Connor McLaughlin c8387cb038 Cheats: Fix master enable not having any effect 2021-03-05 00:53:30 +10:00
Connor McLaughlin 0cbba59e88 GPU/ShaderGen: Add readonly/restrict qualifier to VRAM write SSBO 2021-03-04 13:08:32 +10:00
Connor McLaughlin 6b1e8bd338
Merge pull request #1732 from andercard0/patch-91
Atualização Português do Brasil
2021-03-04 13:03:42 +10:00
Connor McLaughlin 861a1f0e44
Merge pull request #1735 from zkdpower/master
Update Simple-Chinese language file to latest
2021-03-04 13:03:32 +10:00
PugsyMAME 74b2b2ddfe
Added new cheat cheat types: C3, C4, C5, C6, D7&52
C3-C7 are variants of C0
D7 is a BIT based joker to rule them all. It includes the analog sticks (@ggrtk thanks for adding the analog reading capability). Also added the facility of making dual single key joker by varying the amount of time a button is held down.
51 is a complicated beast that I still need to document

* C3XXXXXX 00YY - 8-Bit Master Code, if ($XXXXXX) is less than 0xYY poke all
  00000000 FFFF       following codes for rest of the cheat or until it reaches the
                      00000000 FFFF line.
* C4XXXXXX 00YY - 8-Bit Master Code, if ($XXXXXX) is greater than 0xYY poke all
  00000000 FFFF       following codes for rest of the cheat or until it reaches the
                      00000000 FFFF line.
* C5XXXXXX YYYY - 16-Bit Master Code, if ($XXXXXX) is less than 0xYYYY poke all
  00000000 FFFF       following codes for rest of the cheat or until it reaches the
                      00000000 FFFF line.
* C6XXXXXX YYYY - 16-Bit Master Code, if ($XXXXXX) is greater than 0xYYYY poke all
  00000000 FFFF       following codes for rest of the cheat or until it reaches the
                      00000000 FFFF line.
* D7PQRRRR TTYYYYYY - 24-Bit Universal BIT Joker, OR the hex values to
                     combine into a multi-button joker. Because it is BIT
                     based it is better than D4, D5, D6 or using a D0 joker as you
                     do not need to worry about any other buttons being
                     pressed at the same time and you get both analog
                     sticks for extra functionality. Note if you want to use it
                     just as a enhanced joker just use D7000000 00YYYYYY when
                     the buttons/directions are pressed or D7100000 00YYYYYY
                     when you want to ensure they are not all pressed.
                     QRRRR TT provides the capability of only activating the
                     following codes after the keys have been held in for a set
                     amount of frames. 003C = 60 Frames = 1 Second at 100% Speed
                        YYYYYY = 000001 L2 Button
                        YYYYYY = 000002 R2 Button
                        YYYYYY = 000004 L1 Button
                        YYYYYY = 000008 R1 Button
                        YYYYYY = 000010 Triangle Button
                        YYYYYY = 000020 Circle Button
                        YYYYYY = 000040 X Button
                        YYYYYY = 000080 Square Button
                        YYYYYY = 000100 Select Button
                        YYYYYY = 000200 L3 Button
                        YYYYYY = 000400 R3 Button
                        YYYYYY = 000800 Start Button
                        YYYYYY = 001000 Up (Digital)
                        YYYYYY = 002000 Right (Digital)
                        YYYYYY = 004000 Down (Digital)
                        YYYYYY = 008000 Left (Digital)
                        YYYYYY = 010000 Up (Right Thumb)
                        YYYYYY = 020000 Right (Right Thumb)
                        YYYYYY = 040000 Down (Right Thumb)
                        YYYYYY = 080000 Left (Right Thumb)
                        YYYYYY = 100000 Up (Left Thumb)
                        YYYYYY = 200000 Right (Left Thumb)
                        YYYYYY = 400000 Down (Left Thumb)
                        YYYYYY = 800000 Left (Left Thumb)
                      NOTE: The 0s in the code are reserved for possible
                            future use.
                       TT=Temp Internal Variable 00-FF, 00 will mean it wont be
                            used, if it's not 00 do not use the same value for
                            jokers using different keypress combinations for
                            the same game.
                       P = 0 or 1. 0 = Check ALL YYYYYY Bits are ON
                                   1 = Check ALL YYYYYY Bits are OFF
                       Q = Frame Comparison 0 = Dont do any comparison
                                            1 = Check that the button combination
                                                has been held down for exactly
                                                RRRR frames.
                                            2 = Check that the button combination
                                                has been held down for more than
                                                RRRR frames.
                                            3 = Check that the button combination
                                                has been held down for less than
                                                RRRR frames.
                                            4 = Check that the button combination
                                                has been held down for anything
                                                but RRRR frames.
                       RRRR = 0000 to FFFF, Frame Comparison Value
                      It will then poke all following codes for rest of cheat
  00000000 FFFF       or until it reaches the 00000000 FFFF line.
2021-03-03 23:06:08 +00:00
zkdpower a0a1781cba
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-03-04 06:29:23 +08:00
Anderson_Cardoso 46daa576af
Atualização Português do Brasil
Update file to latest.
2021-03-03 14:58:19 -03:00
Connor McLaughlin 21e53016d7 GPU/Vulkan: Fix possible misalignment in VRAM writes 2021-03-04 01:36:43 +10:00
Connor McLaughlin dbb6c708c2
Merge pull request #1731 from andercard0/patch-90
Atualização Português do Brasil
2021-03-04 00:38:22 +10:00
Connor McLaughlin 86b636dffb Common/DimensionalArray: Work around regression from MSVC 16.9 2021-03-04 00:28:34 +10:00
Connor McLaughlin dc7b5e5155 Qt: Work around Linux builder's old Qt version 2021-03-04 00:26:01 +10:00
Anderson_Cardoso 3ea30c60ca
Atualização Português do Brasil
Update file to latest.
2021-03-03 08:59:06 -03:00
Connor McLaughlin 05ac272c3f GameSettings: Add multitap mode 2021-03-03 21:45:03 +10:00
Connor McLaughlin 1d00f96f89 Qt: Populate controller tabs based on multitap mode 2021-03-03 21:44:56 +10:00
Connor McLaughlin a8a1a9efd5
Merge pull request #1724 from stenzek/cheevos-hardcore-mode
Cheevos: Implement hardcore mode
2021-03-03 20:34:50 +10:00
Connor McLaughlin 6ecf828171 Cheevos: Ignore unofficial achievements for now 2021-03-03 19:44:29 +10:00
Connor McLaughlin 7dbc759619 Cheevos: Implement hardcore mode 2021-03-03 19:14:01 +10:00
Anderson_Cardoso 11adcbc330
Atualização Português do Brasil
Minor update and fix.
2021-03-02 23:05:21 -03:00
Connor McLaughlin 7a05b4f98e XInputControllerInterface: Support fullscreen UI navigation 2021-03-03 03:07:38 +10:00
Connor McLaughlin 738bf9be9f FullscreenUI: Make achievements/settings/load state closable with controller 2021-03-03 03:07:38 +10:00
Connor McLaughlin 99ff0e64c5 FullscreenUI: Don't draw fps/pause overlay over windows 2021-03-03 03:06:13 +10:00
Connor McLaughlin b45891f21a FullscreenUI: Make achievements window pause game 2021-03-03 03:06:13 +10:00
Connor McLaughlin 2088fa599e HTTPDownloaderCurl: Send user agent and cleanup 2021-03-03 03:06:13 +10:00
Connor McLaughlin f47f99b62d FullscreenUI: Make achievement list collapsable 2021-03-03 03:06:13 +10:00
Connor McLaughlin 9cc079223c FullscreenUI: Fix achievement list scrolling off screen 2021-03-03 03:06:13 +10:00
Connor McLaughlin c58227752d CommonHostInterface: Move save state on exit logic to base class 2021-03-03 01:14:05 +10:00
Connor McLaughlin 7645ca3836 HTTPDownloader: Log error code for WinHttpOpen() failure 2021-03-02 15:18:02 +10:00
Connor McLaughlin 910d3cdbb4 GPU/OpenGL: Make GL4.3 a prereq for binding layout
This was incorrectly checking for GL4.2, but explicit uniform/attribute
location isn't supported until GL4.3 without the extension.
2021-03-02 15:18:02 +10:00
Connor McLaughlin 3f698d6ed9
Merge pull request #1720 from ggrtk/multitap
Multitap: Add option to enable only on port 2
2021-03-02 15:14:50 +10:00
Anderson_Cardoso 59ab5abc28
Update Japanese Translation - By: Mikakunin
Update Japanese file to latest. By: Mikakunin
2021-03-01 21:21:46 -03:00
Albert Liu 3482313e2f Multitap: Add option to enable only on port 2 2021-03-01 14:59:59 -08:00
Connor McLaughlin c7a4efc395 System: Don't strip subdirectories when reading exe
Fixes getting hashes for cheevos in games such as Metal Gear Solid -
Integral.
2021-03-02 01:48:31 +10:00
Connor McLaughlin f6b8e2121b ISOReader: Fix recursing into subdirectories 2021-03-02 01:48:31 +10:00
Connor McLaughlin 475f7ccd1f Bus: Increase the number of ticks for RAM reads 2021-03-02 00:46:29 +10:00
shikulja 44064d25ed Update duckstation-qt_ru.ts
change text strings in settingsdialog.ui
2021-03-01 16:43:57 +03:00
Connor McLaughlin 4df9778e85 FullscreenUI: Fix OSD showing over debug menu 2021-03-01 02:21:04 +10:00
Connor McLaughlin 7a0193a8de Qt: Fix macOS compile 2021-02-28 19:55:37 +10:00
Connor McLaughlin 10c3506f1a Cheevos: Linux support 2021-02-28 19:01:16 +10:00
Connor McLaughlin a032d191c8 Qt: Hook signal handlers for CTRL+C 2021-02-28 19:00:54 +10:00
Connor McLaughlin 98be448140 Cheevos: Support logging in while disabled 2021-02-28 19:00:37 +10:00
Connor McLaughlin bc9ca302b8 FullscreenUI: Fix debug menu being occluded 2021-02-28 16:30:09 +10:00
Connor McLaughlin 520b64e711 CPU/Recompiler: Don't zero read-only bits in mtc0
Fixes memory card error in Digimon Digital Card Battle.
2021-02-28 15:06:24 +10:00
Connor McLaughlin 77d861e7df
Merge pull request #1708 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-28 15:05:55 +10:00