Commit graph

3750 commits

Author SHA1 Message Date
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
Connor McLaughlin 1392a64a93 Re-add libretro core 2021-05-20 12:18:54 +10:00
Connor McLaughlin d38a1c9430 AnalogJoystick: Make setter methods public 2021-05-10 13:35:58 +10:00
Connor McLaughlin 571c8684d7 Qt: Update Japanese translation by mikakunin 2021-05-08 20:38:01 +10:00
Connor McLaughlin 729675f497 Bus: Fix memory reserving when 8MB RAM is enabled 2021-05-08 20:36:34 +10:00
Anderson_Cardoso 8a1aaccd3e
Atualização Português do brasil
Update file to latest.
2021-05-07 15:23:58 -03:00
Connor McLaughlin e226464a35 GameSettings: Add GPU renderer and 8MB RAM options 2021-05-08 03:45:14 +10:00
Connor McLaughlin e84fe4d948 D3D11HostDisplay: Fix alpha channel of lightgun crosshair 2021-05-08 03:24:18 +10:00
Connor McLaughlin 8a39969a61 SDLControllerInterface: Prevent crash with out-of-range buttons 2021-05-08 03:24:18 +10:00
Connor McLaughlin e5a6103f74 ControllerInterface: Move axes/constants to derived class 2021-05-08 03:24:18 +10:00
Connor McLaughlin 9ff1f153be CommonHostInterface: Remove some rarely used default hotkeys 2021-05-08 03:24:18 +10:00
Connor McLaughlin a0107fa0f2
Merge pull request #2064 from falsepopsky/updateSpanish
spanish translation qt updated to latest
2021-05-08 03:04:30 +10:00
falsepopsky 81f99d90ee spanish translation qt updated to latest 2021-05-05 21:04:11 -03:00
Anderson_Cardoso 5ede107686
Atualização Português do Brasil
Update file to latest
2021-05-04 15:13:48 -03:00
Connor McLaughlin 8ace5ff6b8 CPU/Recompiler: Fix assertion tripping in debug builds 2021-05-05 03:26:40 +10:00
Connor McLaughlin 87dbfe1edb
Merge pull request #2055 from andercard0/patch-110
Atualização Português do Brasil
2021-05-05 03:26:09 +10:00
zkdpower a967247a96
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-05-04 10:49:07 +08:00
Anderson_Cardoso 1ca8b7628b
Atualização Português do Brasil
Update file to latest.
2021-05-03 09:28:17 -03:00
Connor McLaughlin e382df0d41 Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
Connor McLaughlin 1d7bc24537 Qt: Fix memory card note string 2021-05-03 03:22:28 +10:00
zkdpower cdf8786091
Update Simple-Chinese Translation to latest. (#2047)
* Update Simple-Chinese Translation to latest.

Update Simple-Chinese Translation to latest.
2021-05-03 03:17:37 +10:00
Connor McLaughlin 6f5c00bc86
Merge pull request #2044 from andercard0/patch-109
Atualização Português do Brasil
2021-05-02 15:08:37 +10:00
Connor McLaughlin 19b84cbe4d GameList: Support getting covers without list entry 2021-05-02 14:57:52 +10:00
Anderson_Cardoso 51b031c214
Atualização Português do Brasil
Update file to latest.
2021-05-01 10:11:42 -03:00
Connor McLaughlin 20747d2108 Qt: Fix incorrect location of zh-cn translation 2021-05-01 14:49:45 +10:00
Connor McLaughlin 806fc3e918 Settings: Fix default value for VSync on Android 2021-05-01 14:49:45 +10:00
Connor McLaughlin 44f29da40f CommonHostInterface: Fix OSD messages not clearing on shutdown 2021-05-01 13:37:29 +10:00
Connor McLaughlin f39a5dcf5d Settings: Fix new display aspect ratios being untranslatable 2021-05-01 13:32:37 +10:00
Connor McLaughlin e8fece60cf CommonHostInterface: Fix crash booting exe/psf from file 2021-05-01 02:58:43 +10:00
Connor McLaughlin 052721fffc HostInterface: Fix toggling widescreen hack while running 2021-05-01 02:56:29 +10:00
Connor McLaughlin 864e7f0c91 GameSettings: Add custom aspect ratios 2021-04-30 02:53:03 +10:00
Connor McLaughlin 17a4712a3e Settings: Remove less-frequently used AR options
You can easily set this via custom ratios, or match window now.
2021-04-30 02:53:03 +10:00
Connor McLaughlin 256f272768 Support custom and match display aspect ratios 2021-04-30 02:53:03 +10:00
Connor McLaughlin 48bc152a63 Vulkan/SwapChain: Ensure returned height is at least 1x1 2021-04-30 02:53:03 +10:00
Connor McLaughlin 9b9ce0e2d1
Merge pull request #2036 from falsepopsky/updateSpanish
update qt spanish translation
2021-04-30 02:50:22 +10:00
Connor McLaughlin ad32d08986
Merge pull request #2034 from zkdpower/master
Update Simple-Chinese Translation to latest.
2021-04-30 02:50:10 +10:00
falsepopsky 80a534de9a update qt spanish translation 2021-04-29 00:09:33 -03:00
zkdpower 14e23850fa
Update Simple-Chinese Translation to latest.
Update Simple-Chinese Translation to latest.
2021-04-28 11:28:24 +08:00
Connor McLaughlin f1310bf93a System: Don't discard PGXP state when runahead-rollbacking
You'll still see some glitches if you have the frame count set too high,
since you'll get imprecise values for any vertices which have moved, but
that's going to happen anyway because of the runahead in the first
place.
2021-04-28 02:51:44 +10:00
Connor McLaughlin c2916e0719 System: Render save state screenshots at fixed resolution
Fixes delays when saving state at high internal resolution.
2021-04-28 02:51:44 +10:00
Connor McLaughlin 67adc986ab VulkanHostDisplay: Fix incorrect screenshot size rendering when specified 2021-04-28 02:51:44 +10:00