Commit graph

3790 commits

Author SHA1 Message Date
Connor McLaughlin 51fb23c850 GPU/OpenGL: Invalidate display framebuffer where possible 2021-06-11 20:47:46 +10:00
Connor McLaughlin aae0fb3f2b System: Support loading libps.exe (for Net Yaroze) 2021-06-11 20:47:46 +10:00
Connor McLaughlin d53daf2f26 CDImageEcm: Better error handling for corrupted dumps 2021-06-11 20:47:46 +10:00
Silent 6c52031966
Add an "Unofficial Test Mode" to allow unlocking non-core achievements 2021-06-09 20:15:19 +02:00
Silent 283021f1a2
Don't allow resuming from Fullscreen UI when Hardcore mode is active 2021-06-09 19:13:07 +02:00
Connor McLaughlin 44da13358d
Merge pull request #2238 from CookiePLMonster/hardcore-mode-improvements
Misc improvements
2021-06-09 21:01:54 +10:00
Connor McLaughlin da9c4c1175 CueParser: Fix crash on invalid mode string 2021-06-09 19:44:06 +10:00
Connor McLaughlin 8be8921ae5 Qt: Fix autofire buttons showing with no controller attached 2021-06-09 12:32:33 +10:00
Connor McLaughlin 22d1e6cf02 Qt: Fix crash on controller type mismatch in Japanese 2021-06-09 12:30:59 +10:00
Silent fce4829d2d
Unify CPU clock speed behaviour in Game Properties and Console Settings 2021-06-08 18:43:44 +02:00
Silent 7d8f3d26a6
Do not allow loading save states via commandline in Hardcore mode 2021-06-08 18:43:43 +02:00
Silent d52b0e5dbb
Disallow underclocking in Hardcore mode 2021-06-08 18:38:51 +02:00
Silent 35b35c9212
Hide "Load" from the save state UI legend in Hardcore mode 2021-06-08 18:38:51 +02:00
Silent e21f2644d0
Refactor SystemBootParameters ownership 2021-06-08 18:38:12 +02:00
Connor McLaughlin 20afc1c4a1 Android: Handle some possible surface loss cases 2021-06-07 18:40:32 +10:00
Connor McLaughlin e09a9ff846
Merge pull request #2233 from zkdpower/master
Update Simple-Chinese Translation to latest.
2021-06-07 18:39:43 +10:00
zkdpower d7e2795fe8
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-06-06 22:52:58 +08:00
Connor McLaughlin 857a07a5e7 Qt: Update Japanese translation by mikakunin 2021-06-06 15:53:36 +10:00
Anderson_Cardoso 0cc718f85b
Atualização Português do Brasil
- Some typo fixes;
- Update file to latest.
2021-06-05 17:24:14 -03:00
Connor McLaughlin e118b5486e CDImagePPF: Fix incorrect filename saved to state 2021-06-05 18:12:59 +10:00
Connor McLaughlin e5f400b8d3
Merge pull request #2221 from zkdpower/master
Update Simple-Chinese Translation to latest.
2021-06-05 18:12:52 +10:00
zkdpower 497c813251
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-06-05 13:08:28 +08:00
Connor McLaughlin a16f671362 Qt: Show CDROM State -> Show CD-ROM State 2021-06-05 13:46:31 +10:00
Connor McLaughlin 84b4a2836c Qt: Fix to file label in load/save menu 2021-06-05 13:46:31 +10:00
Connor McLaughlin ad9712afca Qt: Add gear icon to disc games with user settings 2021-06-05 13:46:31 +10:00
Connor McLaughlin d677865d7a
Merge pull request #2217 from zkdpower/master
Update Simple-Chinese Translation to latest.
2021-06-05 13:46:05 +10:00
zkdpower 41f367c441
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-06-05 09:28:19 +08:00
Connor McLaughlin d2f4170d01 Qt: Update lupdate scripts to point to 6.1.0 2021-06-04 13:45:05 +10:00
Connor McLaughlin aac85299ea AudioStream: Make fields protected instead of private 2021-06-04 13:37:23 +10:00
Connor McLaughlin 350049826f Fix a bunch of compiler warnings 2021-06-04 13:14:30 +10:00
Connor McLaughlin 262c43ac00 Build: Don't compile WGL/stackwalker for libretro 2021-06-03 21:32:23 +10:00
Connor McLaughlin 9845f1d76a DInputControllerInterface: Fix crash on shutdown 2021-06-03 14:05:11 +10:00
Michael Ziminsky (Z) 6038389d35 NoGUI: Fix autosave on shutdown 2021-06-02 13:12:37 -07:00
Connor McLaughlin e398836a09 Qt: Update Turkish translation by Foxtrot Uniform 2021-06-02 12:50:43 +10:00
Connor McLaughlin 8f740cae9d Qt: Add Turkish icon by @andercard0 2021-06-02 12:49:58 +10:00
Anderson_Cardoso 0e9a2ac2d5
Atualização Português do Brasil
Update file to latest.
2021-06-01 21:24:28 -03:00
Connor McLaughlin a24b6bd8c7
Merge pull request #2203 from shikulja/master
Update Russian translation
2021-06-02 03:03:52 +10:00
Connor McLaughlin 46c34502b1 Qt: Add Turkish translation by Foxtrot Uniform 2021-06-02 03:03:29 +10:00
shikulja f8fad3c15a Update Russian translation
Last changes
Auto-fire buttons, Applying patches to images
2021-06-01 19:04:09 +03:00
shikulja 584427e33c
Update Russian translation (#2202)
* Update duckstation-qt_ru.ts

* Update duckstation-qt_ru.ts

* Update Russian translation

new strings, adjustment
2021-06-01 22:17:46 +10:00
Connor McLaughlin 3cb01bf23d CDImage: Fix compilation on Linux 2021-06-01 22:04:25 +10:00
Connor McLaughlin 246797cf5c Qt: Fix inconsistent CDROM/CD-ROM in console settings 2021-06-01 21:56:12 +10:00
Connor McLaughlin 9aa386e96c System: Add option to load/apply image patches 2021-06-01 21:55:37 +10:00
Connor McLaughlin 77984035d2 CDImage: Add CDImagePPF to overlap a PPF on another image 2021-06-01 21:54:50 +10:00
Connor McLaughlin 5edc645d1f MemoryArena: Use module-unique shared memory name for libretro 2021-05-31 20:51:27 +10:00
Connor McLaughlin 179a7aea89 GPU/HW: Assume 240/288p for auto scale on start with all borders 2021-05-31 03:48:38 +10:00
Connor McLaughlin d64bc193fd SaveStateSelectorUI: Make select/next hotkeys apply immediately 2021-05-30 13:21:25 +10:00
Connor McLaughlin 296a662e74 Qt: Add ability to load/save state from files 2021-05-30 13:19:53 +10:00
Connor McLaughlin 1b0b88f60b Qt: Group cheats together in categories in menu 2021-05-29 20:51:30 +10:00
Connor McLaughlin 56c08254c9 CDImage: Fix incorrect index returned for track-relative 00:02:00
Fixes some voice lines being very briefly cut off in Tomb Raider.
2021-05-27 03:48:02 +10:00
Connor McLaughlin e8e8b910a5 CDImage: Fix pregap not going to 00:00:00 2021-05-27 03:48:02 +10:00
Connor McLaughlin 28b8cb5bc6 Settings: Fix mismatches between default and fallback values 2021-05-27 03:48:01 +10:00
Connor McLaughlin 3e792651d4
Merge pull request #2174 from CookiePLMonster/vs2019-workaround
Common/DimensionalArray: Re-revert the workaround
2021-05-26 13:48:13 +10:00
Connor McLaughlin 205e18a0c7 Qt: Add icons by @andercard0 2021-05-26 13:42:35 +10:00
Silent 803b68b279
Common/DimensionalArray: Re-revert the workaround
VS16.10 fixes the regression and bumps up _MSC_VER,
so make only VS2017 and VS16.9 use the workaround
2021-05-25 19:00:40 +02:00
Connor McLaughlin 7c43f5c13e CPU/CodeCache: Fix compilation on 32-bit x86 2021-05-26 02:48:46 +10:00
Connor McLaughlin baad1a4b23 CPU/Recompiler: Optimize away nops completely
35% performance improvement for PGXP CPU mode in Racing Lagoon.
2021-05-25 20:01:59 +10:00
Connor McLaughlin f4242f390b GPU/HW: Use a larger epsilon for PowerVR 2021-05-25 20:01:37 +10:00
Connor McLaughlin df26792c19 PGXP: Small optimization in memory lookup 2021-05-25 20:01:00 +10:00
Connor McLaughlin eaab0cc033 GPU/ShaderGen: Use smaller position epsilon on PowerVR 2021-05-25 18:42:21 +10:00
Connor McLaughlin e8a21d32dc CommonHostInterface: Use string list for autofire bindings
Fixes autofire bindings on Android.
2021-05-25 14:14:37 +10:00
Connor McLaughlin 08876d132f GPU/HW: Don't generate always/never-discarding discard shaders
Might fix the PowerVR driver...
2021-05-25 13:38:33 +10:00
Connor McLaughlin 0979149236 EvdevControllerInterface: Implement axes 2021-05-25 13:20:15 +10:00
Connor McLaughlin 8f23a79d36 CommonHostInterface: Add public method to activate autofire 2021-05-24 21:25:08 +10:00
Connor McLaughlin 6a2b2ac7f8 System: Don't wipe out nonpersistent memory cards during game change 2021-05-24 21:24:22 +10:00
Connor McLaughlin 3f2c034869 CommonHostInterface: Fix always using playlist title for running game 2021-05-24 21:24:22 +10:00
Connor McLaughlin 6e46cb11a7
Merge pull request #2163 from andercard0/patch-124
Atualização Português do Brasil
2021-05-24 21:21:48 +10:00
Max833 0881abcab3
Qt: Update German translation and fix cdromSeekSpeedup (#2161)
* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update consolesettingswidget.cpp

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts
2021-05-24 21:21:38 +10:00
Anderson_Cardoso d8770c1a2c
Atualização Português do Brasil
Update file to latest.
2021-05-23 17:46:37 -03:00
Connor McLaughlin 16efffa403 CueParser: Ignore pregap when index 0 is specified
Also corrects the previous track length when index 0 is specified.
2021-05-23 20:42:50 +10:00
Connor McLaughlin 8f639070c9 CueParser: Ignore zero pregap when index 0 is set 2021-05-23 20:33:55 +10:00
Connor McLaughlin 5556d8221b CueParser: Fix reading cuesheets with timecodes >60mins 2021-05-23 20:06:10 +10:00
Connor McLaughlin c9029a88c7 CMake: Fix Android native library build 2021-05-23 18:00:57 +10:00
Connor McLaughlin 70396621e8
Merge pull request #2151 from andercard0/patch-123
Atualização Português do Brasil
2021-05-23 17:31:24 +10:00
Connor McLaughlin d9a655fb41 System: Add non-persistent memory card type 2021-05-23 17:12:01 +10:00
Connor McLaughlin 3dc7ef92c2 GameSettings: Add CD-ROM seek speedup 2021-05-23 16:18:34 +10:00
Connor McLaughlin 98e4c181ca CDROM: Add seek speedup enhancement 2021-05-23 16:18:34 +10:00
Connor McLaughlin d4a13f511c dep: Reduce dependencies for libretro core 2021-05-23 16:18:34 +10:00
Connor McLaughlin 817c7ef96a FrontendCommon: Mark host display files as final
Libretro has its own display classes now.
2021-05-23 16:18:15 +10:00
Anderson_Cardoso 71effa3b3e
Atualização Português do Brasil
Update file to latest.
2021-05-21 17:41:00 -03:00
Connor McLaughlin 69cfcd22a2 CDImageCue: Replace libcue with in-house cue parser 2021-05-21 14:52:55 +10:00
Connor McLaughlin 99b7a0bb85 Qt: Fix non-square cover scaling with hidpi 2021-05-21 13:48:10 +10:00
Connor McLaughlin ff0bd7abc4 System: Add file title memory card type 2021-05-21 13:19:25 +10:00
Connor McLaughlin 6aa78b11fe NoGUI: Fix crash on startup with exclusive fullscreen 2021-05-21 13:19:25 +10:00
Connor McLaughlin 79549a2a51
Merge pull request #2147 from zkdpower/master
Update Simple-Chinese Translation to latest.
2021-05-21 13:19:09 +10:00
zkdpower e9253dfe43
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-05-21 06:18:49 +08:00
Anderson_Cardoso eebff0f46c
Update Italian File Translation
As reported by @projetto fixed typo in Italian file. 
Note: there are a bunch of non-translated itens there yet.
2021-05-20 14:17:26 -03:00
Connor McLaughlin 2285e219e1 Qt: Fix compiling auto updater with Qt 6 2021-05-20 15:21:15 +10:00
Connor McLaughlin c4348beed4 NoGUI: Don't ignore pause on focus loss setting 2021-05-20 15:09:54 +10:00
Anderson_Cardoso 2a3b3960dc Atualização Português do Brasil
Update file to latest.
2021-05-20 14:22:51 +10:00
Connor McLaughlin 6c20bac7dd Qt: Support Qt 6 2021-05-20 14:14:26 +10:00
Connor McLaughlin 245dd5b27a GPU/HW: Fix crash with oversized writes and sw readback 2021-05-20 14:14:26 +10:00
Connor McLaughlin 5f2a340953 Qt/GameList: Use device pixel ratio for cover pixmaps 2021-05-20 14:14:20 +10:00
Connor McLaughlin 2bde6d8e10 Android: Expose some of the GameSettings traits 2021-05-20 13:28:36 +10:00
Connor McLaughlin a6d76e787f GameSettings: Add trait for sw-renderer-for-readbacks 2021-05-20 13:28:36 +10:00
Connor McLaughlin 5d877250e9 GPU/HW: Add an option to use software renderer for readbacks 2021-05-20 13:28:36 +10:00
Connor McLaughlin 0e59a14c82 OpenGLHostDisplay: Fix crash when context creation fails 2021-05-20 12:19:29 +10:00
Anderson_Cardoso 4ea7dc79db Atualização Português do Brasil
Update file to latest.
2021-05-20 12:19:29 +10:00
Connor McLaughlin bb9bd2af23 Qt: Update Japanese translation by mikakunin 2021-05-20 12:19:29 +10:00
Connor McLaughlin bcd40dd860 Qt: Fix autofire button selection in non-English UI 2021-05-20 12:19:28 +10:00
Connor McLaughlin 67f352339c CommonHostInterface: Add swap memory cards hotkey 2021-05-20 12:19:28 +10:00
Connor McLaughlin 2f8150f357 scmversion: Ignore play-store-release tag 2021-05-20 12:19:28 +10:00
Anderson_Cardoso ac1db3448b Atualização Português do Brasil
Update file to latest
2021-05-20 12:19:28 +10:00
Connor McLaughlin 549b5e8af0 Qt: Translate button names in auto-fire config 2021-05-20 12:19:28 +10:00
Connor McLaughlin 3e3b691a86 NoGUI: Hook up exclusive fullscreen 2021-05-20 12:19:28 +10:00
Connor McLaughlin f3cceca805 NoGUI: Implement mouse cursor hiding in fullscreen 2021-05-20 12:19:28 +10:00
Connor McLaughlin 2fe1f3c2f7 VulkanHostDisplay: Wait for GPU idle on surface change 2021-05-20 12:19:28 +10:00
falsepopsky 03798180eb updated spanish translation, android and qt. 2021-05-20 12:19:28 +10:00
zkdpower e3ff3cbb91 Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-05-20 12:19:28 +10:00
Anderson_Cardoso 3fa25ebd78 Atualização Português do Brasil
Update file to latest and fixed typos.
2021-05-20 12:19:28 +10:00
Max833 e3f8238702 Qt: Update German translation (#2117)
* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts
2021-05-20 12:19:28 +10:00
Connor McLaughlin bced237034 MemoryCard: Sanitize game titles for file names 2021-05-20 12:19:28 +10:00
Connor McLaughlin ee5bf410e6 Qt: Make dark fusion the default theme 2021-05-20 12:19:28 +10:00
Connor McLaughlin c43957d385 FullscreenUI: Add controller autofire settings 2021-05-20 12:19:28 +10:00
Connor McLaughlin cc69ac5742 Qt: Add controller autofire settings 2021-05-20 12:19:28 +10:00
Connor McLaughlin 01c869b704 CommonHostInterface: Implement controller autofire 2021-05-20 12:19:28 +10:00
Connor McLaughlin c7beac5efd Qt: Remove setting when string value is empty 2021-05-20 12:19:28 +10:00
Connor McLaughlin 148a706771 Qt: Add CollapsibleWidget 2021-05-20 12:19:28 +10:00
Connor McLaughlin f5bec87f79 CommonHostInterface: Add Toggle PGXP CPU Mode hotkey 2021-05-20 12:19:28 +10:00
Connor McLaughlin 5853588a52 Qt: Use native separators for open disc 2021-05-20 12:19:27 +10:00
Connor McLaughlin fd462ab778 VulkanHostDisplay: Fix crash in RenderScreenshot() when display disabled 2021-05-20 12:19:27 +10:00
Connor McLaughlin f4fb627428 System: Increase maximum save state size (for 8MB RAM) 2021-05-20 12:19:27 +10:00
Connor McLaughlin 21d6af287e System: Fix a possible crash with runahead 2021-05-20 12:19:27 +10:00
Connor McLaughlin 1f206421e8 CommonHostInterface: Prevent crash with fullscreen UI enabled 2021-05-20 12:19:27 +10:00
zkdpower dda2cccb1c Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-05-20 12:19:27 +10:00
Anderson_Cardoso 217f874cff Update Brazilian Portuguese Language
Update to latest.
2021-05-20 12:19:27 +10:00
Connor McLaughlin 437d3fbb4b GPU/SW: Set display parameters before data 2021-05-20 12:19:27 +10:00
Connor McLaughlin 3d972955a7 FullscreenUI: Fix empty cheat menu leaving system paused 2021-05-20 12:19:27 +10:00
Connor McLaughlin a6d2324f0e ControllerInterface: Don't fire events when fullscreen UI active 2021-05-20 12:19:27 +10:00
Connor McLaughlin 00ffffe8c0 VulkanHostDisplay: Handle surface changes if this happens 2021-05-20 12:19:27 +10:00
Connor McLaughlin 08a815ad7b FullscreenUI: Make show status indicator setting local 2021-05-20 12:19:26 +10:00
Connor McLaughlin 172ba1fc32 CommonHostInterface: Fix controller masking for Start Disc 2021-05-20 12:19:26 +10:00
Connor McLaughlin 301bbb4924 CDImagePBP: Handle compression level 0 files 2021-05-20 12:19:26 +10:00
Connor McLaughlin 68fd77c326 CDImagePBP: Fix reading from track 1 pregap 2021-05-20 12:19:26 +10:00
Connor McLaughlin 69fb8de644 CDImageM3u: Fix crash when error pointer is null 2021-05-20 12:19:26 +10:00
Anderson_Cardoso 6e189f4fd0 Atualização Português do Brasil
Update file to latest
2021-05-20 12:19:26 +10:00
ValadAmoleo 1fa4460590 Added a toggle for persistent message. (#2106)
* Added a toggle for persistent message.

Added a toggle to display settings to disable persistent messages (ff, pause) in the fullscreen UI.

* Moved toggle for the icons to advanced settings.

Moved the toggle to the advanced settings as suggested.  Renamed the option from "show persistent messages" to "show speed icons", so that it's much more specific.
2021-05-20 12:19:26 +10:00
Connor McLaughlin 8c7282046b CPU/CodeCache: Re-enable interpreter fallback heuristic 2021-05-20 12:19:25 +10:00
Connor McLaughlin acda42be16 CPU/Recompiler: Get rid of non-constant offsetofs 2021-05-20 12:19:24 +10:00
zkdpower 4cb8817247 Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-05-20 12:19:23 +10:00
Connor McLaughlin 1ed1d641a6 CPU/Recompiler: Don't use intepreter icache when falling back
Fixes broken rendering in TOCA 2.

It has self-modifying code every frame, which gets falled back to the
interpreter, and using the interpreter's icache, which resulted in
stale code executing.
2021-05-20 12:19:23 +10:00
Connor McLaughlin e24a2aa6ac NoGUI/SDL: Save and restore window geometry 2021-05-20 12:19:23 +10:00
Connor McLaughlin 8e9fbf63a3 NoGUI/SDL: Implement pause on focus loss 2021-05-20 12:19:23 +10:00
Connor McLaughlin ab0364eb8f Qt: Move fullscreen to view menu 2021-05-20 12:19:23 +10:00
Connor McLaughlin 8dd36f4474 CommonHostInterface: Fix translatability of widescreen hack toggle message 2021-05-20 12:19:23 +10:00
Connor McLaughlin 6eb0496d77 AnalogController: Don't panic on unknown configuration mode command 2021-05-20 12:19:23 +10:00
ValadAmoleo 057c264d97 Widescreen Hotkey (#2080)
* Widescreen Hotkey

Added the ability to toggle Widescreen Hack and set the Aspect Ratio via a hotkey.

This is in response to Discussion #1912 (https://github.com/stenzek/duckstation/discussions/1912)

* Widescreen Hotkey Uses Settings

The Widescreen Hotkey now looks at the user's global or game settings when toggling.  This means:
When disabling the widescreen hack it uses a non-wide ratio as set by the user if available or auto if unavailable.
When enabling the widescreen hack it uses a wide ratio as set by the user if available or 16:9 if unavailable.

* Avoids loading the entire settings now.

Specifically loads the aspect ratio setting.
2021-05-20 12:19:23 +10:00
Connor McLaughlin 1e7e52718e NamcoGuncon: Only update trigger for offscreen on change 2021-05-20 12:19:21 +10:00
Nekokabu d096d0bd56 Update duckstation-qt_ja.ts 2021-05-20 12:19:15 +10:00
Anderson_Cardoso 1bddf524d8 Atualização Português do Brasil
Update file to latest.
2021-05-20 12:19:15 +10:00