Commit graph

3657 commits

Author SHA1 Message Date
Connor McLaughlin d0f6ff03a5 FullscreenUI: Remove local pointer to SettingsInterface 2021-02-24 01:21:43 +10:00
Connor McLaughlin 1fc53ff622 CommonHostInterface: Move settings interface pointer to base class 2021-02-24 01:21:43 +10:00
Connor McLaughlin 7e1fe166ee FullscreenUI: Add notifications API 2021-02-24 01:21:43 +10:00
Connor McLaughlin 229ed5a852 System: Add helpers for reading executables off discs 2021-02-24 01:21:43 +10:00
Connor McLaughlin 7501e89b7a System: Add path/image to game change notification 2021-02-24 01:21:43 +10:00
Connor McLaughlin 77090865c1 OSD: Draw shadows on stats overlays (FPS/Resolution)
Makes it more visible on white backgrounds.
2021-02-24 01:21:43 +10:00
Connor McLaughlin 175abd4914 CommonHostInterface: Filter OSD messages in acquire for disabled case 2021-02-24 01:21:43 +10:00
Connor McLaughlin a9cf6cdc91 Qt: Update Japanese translation by mikakunin 2021-02-24 01:21:43 +10:00
Connor McLaughlin 75776f9b33
Merge pull request #1657 from CookiePLMonster/savestate-ui-legend
Save State UI: Add legend showing hotkeys
2021-02-24 01:21:24 +10:00
Chris 8b4a7e1b98
Fix for batch mode nogui (#1674)
* Don't override batch_mode to false in nogui

* Update nogui_host_interface.cpp
2021-02-24 01:20:21 +10:00
Silent 78f9136fb8
Save State UI: Cache legend strings 2021-02-22 19:34:51 +01:00
Connor McLaughlin 524a2f3f19
Merge pull request #1669 from falsepopsky/updateSpanish
spanish qt translation - updated
2021-02-22 17:52:12 +10:00
falsepopsky 5a84d28ff0 updated qt_es 2021-02-22 02:56:50 -03:00
Connor McLaughlin 91a7775d68 BIOS: Fix size validation for PSExe 2021-02-22 12:22:28 +10:00
Connor McLaughlin 13b0946efd CDImage: Fix file reading from >1 sequential sector 2021-02-22 12:22:28 +10:00
Connor McLaughlin e540ab7038 Common: Add LRUCache class 2021-02-22 12:22:28 +10:00
Connor McLaughlin 322f1492b2 FileSystem: Add SanitizeFilename() overload for std::string 2021-02-22 12:22:28 +10:00
Connor McLaughlin d97a107b62 WindowsHeaders: Undef GetObject 2021-02-22 12:22:28 +10:00
Connor McLaughlin 357235404a AudioStream: Fix a crash when opening device fails 2021-02-22 12:21:44 +10:00
Connor McLaughlin ae49215251 Timers: Better predict next event time
Significantly improves performance in Fromage.
2021-02-22 12:21:44 +10:00
Connor McLaughlin caae06dbf4
Merge pull request #1646 from piepacker/jake/osd_locking_opt
optimize locking mechanism for OSD messages (deadlock-proofing)
2021-02-22 12:21:12 +10:00
Connor McLaughlin 64d4b2e288
Merge pull request #1663 from RaydenX93/update_it_20210221
Update Italian Translation (Qt)
2021-02-22 12:08:45 +10:00
Albert Liu 71d748ef04 AnalogController: Fix regression in analog mode toggling 2021-02-21 16:12:41 -08:00
Albert Liu 329e8317b4 Controller: Always check for access byte 2021-02-21 15:20:31 -08:00
RaydenX93 4a144d30ed Update duckstation-qt_it.ts 2021-02-21 12:17:41 +01:00
Silent e361b9f012
Save State UI: Make the widget translatable 2021-02-19 20:14:33 +01:00
Silent 82a217570c
Save State UI: Add legend showing hotkeys 2021-02-19 20:14:00 +01:00
Connor McLaughlin 30bcf280d4 Revert "CPU/Recompiler: Use fastmem for constant loads from RAM mirrors in LUT mode"
This reverts commit 67fe97a17c.

Misread the logic here - it's masked anyway, so it's fine.
2021-02-19 02:25:27 +10:00
Connor McLaughlin 24c2165bb3 GPU: Allow closing window/app to interrupt shader compilation 2021-02-19 01:48:44 +10:00
Connor McLaughlin 1b544ae350 GameList: Slight optimization to scanning 2021-02-19 01:37:56 +10:00
Connor McLaughlin 3ab7e140ee FileSystem: Add some overloads for FILE* 2021-02-19 01:37:56 +10:00
Connor McLaughlin cacf12c209 FileSystem: Migrate component extractors to std::string_view 2021-02-19 01:37:56 +10:00
Connor McLaughlin 8c7aec2edf CommonHostInterface: Ensure game list is loaded before booting
Fixes a possible race/crash when starting with a filename in NoGUI.
2021-02-19 01:37:56 +10:00
Connor McLaughlin d3717e66c3 CPU/Recompiler: Handle self-modifying code within same block
Fixes Spyro 2 and 3 PAL with recompiler.
2021-02-19 01:37:56 +10:00
Connor McLaughlin 67fe97a17c CPU/Recompiler: Use fastmem for constant loads from RAM mirrors in LUT mode 2021-02-19 01:37:56 +10:00
Connor McLaughlin 9d05aa2145
Merge pull request #1656 from andercard0/patch-80
Atualização Português do Brasil
2021-02-18 13:12:20 +10:00
Connor McLaughlin 255937f316
Merge pull request #1658 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-18 13:11:55 +10:00
Connor McLaughlin 1c59b114f8
Merge pull request #1655 from Max833/master
Qt: Update German translation
2021-02-18 13:11:39 +10:00
shikulja 214c164d37
Update duckstation-qt_ru.ts (#1654)
* Update duckstation-qt_ru.ts

minor update, changed lines, typos, a few new lines

* Update duckstation-qt_ru.ts
2021-02-18 13:11:21 +10:00
zkdpower 6bc1814d02
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-18 09:31:26 +08:00
Anderson_Cardoso 2aad830d9e
Atualização Português do Brasil
Update file to latest
2021-02-17 17:07:07 -03:00
Max833 04901c7769
Update duckstation-qt_de.ts 2021-02-17 18:36:45 +01:00
Connor McLaughlin e7b9309567 GameSettings: Add PGXP projection precision 2021-02-18 02:19:43 +10:00
Connor McLaughlin db4f521d92 System: Make some boot error messages translatable 2021-02-18 02:08:48 +10:00
Connor McLaughlin 7641bbf5f2 UI: Shuffle around PGXP settings 2021-02-18 02:08:48 +10:00
Connor McLaughlin 209827b67c PGXP: Compute PSX values on demand for CPU instructions
Generates shorter code for the recompiler.
2021-02-18 02:08:48 +10:00
Connor McLaughlin 54f5c737ce PGXP: Inline some more functions 2021-02-18 02:08:48 +10:00
Connor McLaughlin 46dbea509a GPU: Fix adaptive downsampling regression 2021-02-18 02:08:47 +10:00
Connor McLaughlin 1b881fc60b PGXP: Combine instr and rtVal parameters for CPU_LUI 2021-02-18 02:08:47 +10:00
Connor McLaughlin bc021ddfd9 CPU/Recompiler: Implement PGXP CPU mode 2021-02-18 02:08:47 +10:00
Connor McLaughlin 0bfa1bf873 PGXP: Fix MFC0/MTC0
Doubt it'll change anything.
2021-02-18 02:08:47 +10:00
Connor McLaughlin a722fd6b53 PGXP: Make mult/div compute results instead of parameters
Lets us call it from the recompiler.
2021-02-18 02:08:47 +10:00
Connor McLaughlin 33a5617ea3 PGXP: Remove some unused parameter from M{F,T}{HI,LO} 2021-02-18 02:08:47 +10:00
Connor McLaughlin efecb44344 PGXP: Combine a couple of instructions 2021-02-18 02:08:47 +10:00
Connor McLaughlin 09805c1f80 FullscreenUI: Fix controller navigation in disc change 2021-02-18 02:08:47 +10:00
Silent 99dcc39e6b
Update PL localization 2021-02-16 22:01:27 +01:00
Silent 9fd09c33b1
Improve consistency of tooltips in Display Settings 2021-02-16 21:53:50 +01:00
Jake Stine c3c4181074 optimize locking mechanism for OSD messages, use EnumerateOSDMessages more generally 2021-02-15 16:53:40 -08:00
Silent 82469ac425
Fix a missing comma in the PGXP message
+ translations fixed to account for that
2021-02-15 23:36:39 +01:00
Connor McLaughlin 65daf1d6a0 Vulkan: Support fullscreen resolution enumeration 2021-02-16 02:58:25 +10:00
Max833 e84a39245f
Update duckstation-qt_de.ts (#1644)
* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts
2021-02-16 02:58:03 +10:00
Connor McLaughlin 0110295f2c Android: Fix some game settings saving/loading incorrectly 2021-02-15 00:21:27 +10:00
Connor McLaughlin d8ce98a1e2 Bump shader cache version 2021-02-14 19:25:14 +10:00
Connor McLaughlin 2c1999e622 CDROM: Simulate holding position for GetlocP
Fixes lockups in Tomb Raider.
2021-02-14 18:36:21 +10:00
Connor McLaughlin 0d13e1013d GPU: Fix incorrect dither offset [3][0]
Fixes dots in sky in Silent Hill.
2021-02-14 18:36:21 +10:00
Connor McLaughlin f7426b0988 GL/Context: Support fbdev 2021-02-14 18:36:21 +10:00
Connor McLaughlin f5d7fec914 NoGUI: Rename DRMHostInterface to VTYHostInterface 2021-02-14 18:36:21 +10:00
Connor McLaughlin d4143399eb OpenGLHostDisplay: Support fullscreen mode enumeration (DRM only) 2021-02-14 18:36:21 +10:00
Connor McLaughlin 748e2e9a70 DRMDisplay: Add mode queries 2021-02-14 18:36:21 +10:00
Connor McLaughlin 0c71a97e02 FullscreenUI: Add resolution selection 2021-02-14 18:36:21 +10:00
Connor McLaughlin 5a66639d78 HostDisplay: Add virtual method for getting resolutions 2021-02-14 18:36:21 +10:00
Connor McLaughlin e7fc904cf4 DRMHostInterface: Set surface size to settings fullscreen mode 2021-02-14 18:36:21 +10:00
Connor McLaughlin e8832bf552 DRMDisplay: Use width/height/refresh rate to select mode 2021-02-14 18:36:21 +10:00
Connor McLaughlin b811b78c09 Add refresh rate to window/mode info 2021-02-14 18:36:21 +10:00
Max833 935c73fb6c
Qt: Update German translation (#1627)
* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts
2021-02-14 18:35:19 +10:00
Connor McLaughlin 8b8dbc6812
Merge pull request #1630 from andercard0/patch-79
Atualização Português do Brasil
2021-02-14 18:34:54 +10:00
Connor McLaughlin dfaf0797f0
Merge pull request #1637 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-14 18:34:28 +10:00
zkdpower 63ef510a0c
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-13 13:24:37 +08:00
Anderson_Cardoso 092aaf1597
Atualização Português do Brasil
Update file to latest.
2021-02-11 19:39:16 -03:00
Connor McLaughlin eabda2979c Qt: Fix Linux compile 2021-02-12 01:10:08 +10:00
Connor McLaughlin c6c67b7b27 ImGui: Remove close button from debug windows
They can be closed by unchecking the setting instead, and it stays in
sync with the config this way.
2021-02-12 01:01:30 +10:00
Connor McLaughlin c8efade20c CommonHostInterface: Don't draw OSD/FPS as windows
Slight performance improvement.
2021-02-12 01:01:30 +10:00
Connor McLaughlin de688615ff Qt: Add Clear and Reset buttons to cheat manager 2021-02-12 01:01:30 +10:00
Connor McLaughlin e75f1c1b6d Qt: Add 'Lock Toolbar' option 2021-02-12 01:01:30 +10:00
shikulja 22963ecbf3
Update duckstation-qt_ru.ts (#1619)
* Update duckstation-qt_ru.ts

small update, add some new strings, minor adjustments

* Update duckstation-qt_ru.ts
2021-02-11 02:19:41 +10:00
Connor McLaughlin bfa2b72e08 Fix a couple of name typos 2021-02-11 02:17:25 +10:00
Connor McLaughlin 6ab926ab28 System: Make the SBI check a confirm dialog instead of message 2021-02-11 02:04:47 +10:00
Connor McLaughlin 5f6fce9d98 CommonHostInterface: Remove Rewind hotkey on Android
It's not enablable in the UI anywhere.
2021-02-11 01:40:00 +10:00
Connor McLaughlin ef97131c9d Timers: Handle target = 0 case
Fixes Super Gals! Kotobuki Ran Special - Ikemen Get You Gals Party
hanging at boot.
2021-02-09 01:01:36 +10:00
Connor McLaughlin 537f833658 FullscreenUI: Fix binding immediately when activating with controller 2021-02-08 00:57:56 +10:00
Connor McLaughlin 53fb55ff15 Add evdev controller interface 2021-02-08 00:47:39 +10:00
Connor McLaughlin ee3aa0dc4d OpenGLHostDisplay: Fix incorrect default for PBO streaming 2021-02-08 00:47:34 +10:00
Connor McLaughlin d356b95819 Qt: Move ImGui NewFrame/EndFrame to correct location 2021-02-08 00:47:29 +10:00
Connor McLaughlin 8b11511a9b
Merge pull request #1597 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-07 20:16:58 +10:00
Connor McLaughlin bb5d4017cf
Merge pull request #1593 from Max833/master
Qt: Update German translation
2021-02-07 20:16:36 +10:00
Connor McLaughlin c9b874eeec
Merge pull request #1592 from andercard0/patch-73
Atualização Português do Brasil
2021-02-07 20:16:26 +10:00
Connor McLaughlin 8c77c4a493
Merge pull request #1596 from andercard0/patch-76
Update Japanese Language by - Mikakunin
2021-02-07 20:16:07 +10:00
Connor McLaughlin c043643c4d GPU/HW: Fix typo in –IncludeVRAMDirtyRectangle() name 2021-02-07 20:00:16 +10:00
Connor McLaughlin 4a240958ff GPU/HW: Work around VRAM copy glBlitFramebuffer broken in Mali 2021-02-07 19:59:50 +10:00
zkdpower e7238c236e
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-07 11:57:12 +08:00
Anderson_Cardoso a47a8daa62
Update Japanese Language by - Mikakunin
Update Japanese Language by - Mikakuni to latest.
2021-02-07 00:19:00 -03:00
Max833 c700e29c51
Update duckstation-qt_de.ts 2021-02-07 02:11:10 +01:00
Anderson_Cardoso 3a5b24b37e
Atualização Português do Brazil
Update file to latest.
2021-02-06 20:20:32 -03:00
Connor McLaughlin cc0cc6fbb9 Qt: Add disable all enhancements to debug menu 2021-02-07 03:27:48 +10:00
Connor McLaughlin a77edc6436 Settings: Default console logging on Android to on 2021-02-07 03:27:37 +10:00
Connor McLaughlin fc578b7ec7 NoGUI: Fix debug assertion firing on renderer switch 2021-02-07 03:15:06 +10:00
Connor McLaughlin b560142015
Merge pull request #1588 from RaydenX93/update_20210206
Qt Italian Translation Update
2021-02-07 03:09:20 +10:00
Connor McLaughlin ccc25fc131 GL/Context: Filter Mali GPUs based on ARM GL_VENDOR only 2021-02-06 20:25:26 +10:00
Connor McLaughlin b20b1a2fa8 OpenGLHostDisplay: Only disable streaming PBO on Adreno
It's slightly faster on Mali.
2021-02-06 20:19:10 +10:00
Connor McLaughlin 837fb6128b GPU/HW: Fix mask bit when rendering with transparency and no DSB
Fixes some sprites in Bloody Roar on Mali GPUs.
2021-02-06 20:14:28 +10:00
Connor McLaughlin 011df33fc4 GL/StreamBuffer: Support non-coherent mappings 2021-02-06 19:23:39 +10:00
Connor McLaughlin d416dbb461 FullscreenUI: Ensure fonts are at least one pixel high 2021-02-06 19:21:39 +10:00
Connor McLaughlin c03c4cb95a GPU: Elide VRAM copies when they will have no effect
Can provide a performance boost in most games because of the redundant
copy they issue once a frame.
2021-02-06 19:20:14 +10:00
Connor McLaughlin 5a9abd55a1 GL/Context: Disable GL_{EXT,OES}_copy_image on Mali
It is **very** slow because it seems to be implemented on the CPU...
2021-02-06 19:20:09 +10:00
Connor McLaughlin c6ed19cc7b OpenGLHostDisplay: Don't use PBOs for software upload on GLES 2021-02-06 19:20:05 +10:00
Connor McLaughlin 701edb335a Various warning fixes 2021-02-06 19:19:55 +10:00
Connor McLaughlin 3c910782ca FullscreenUI: Fix heading line width not being scaled 2021-02-06 19:19:21 +10:00
Connor McLaughlin 105376b1b3 FullscreenUI: Don't draw OSD over windows 2021-02-06 19:18:44 +10:00
Connor McLaughlin d7962fdac7 ImGui: Use safe strcat/scanf on MSVC 2021-02-06 19:16:39 +10:00
RaydenX93 bfdf33868f Update duckstation-qt_it.ts 2021-02-06 09:38:05 +01:00
Connor McLaughlin 8582e2770d CrashHandler: Save minidump on Windows 2021-02-06 13:23:50 +10:00
Connor McLaughlin f943aa0489
Merge pull request #1582 from MaddTheSane/printfFixes
Logging fixes
2021-02-05 11:47:38 +10:00
Connor McLaughlin 10daea9faf
Merge pull request #1581 from MaddTheSane/printfLike
Add printf-like macro to Writef.
2021-02-05 11:46:39 +10:00
C.W. Betts 4591e75f5b Fix the last formatting warning I was able to find. 2021-02-04 18:20:58 -07:00
C.W. Betts 662d6e9711 Fix possible log formatting errors. 2021-02-04 17:54:51 -07:00
C.W. Betts 01b3b5066d Add printf-like macro.
This should help catch some formatting bugs.
2021-02-04 17:15:28 -07:00
C.W. Betts 2c2af6c751
Update shadergen.cpp
Quiets a warning in Clang about copying variables.

Actual warning text: Loop variable '[qualifiers, name]' of type 'const std::__1::pair<const char *, const char *>' creates a copy from type 'const std::__1::pair<const char *, const char *>'
2021-02-04 13:05:59 -07:00
Connor McLaughlin 05545566e7 NoGUI: Fix crash when initialization fails 2021-02-05 02:34:08 +10:00
Connor McLaughlin 43d1495a63 OpenGLHostDisplay: Allow filtering to be toggled for GLES2 path 2021-02-05 02:28:03 +10:00
Connor McLaughlin d455b61d5e OpenGLHostDisplay: Fix interlaced software renderer output 2021-02-05 02:16:45 +10:00
Connor McLaughlin 7b4650700f StringUtil: Add StrideMemCpy/StrideMemCmp 2021-02-05 02:16:15 +10:00
Connor McLaughlin d0667ba32a NoGUI: Prefer SDL host interface over DRM/KMS if display present 2021-02-04 23:49:21 +10:00
Connor McLaughlin 3e9fdf22bf NoGUI: Move DRM display to GL context
We don't use it for Vulkan.
2021-02-04 19:39:19 +10:00
Connor McLaughlin 8f9bbb0bba Vulkan: Support VK_KHR_display 2021-02-04 19:25:21 +10:00
Connor McLaughlin 929863e7d6
Merge pull request #1576 from falsepopsky/updateSpanish
updated spanish translation
2021-02-04 13:48:50 +10:00
Connor McLaughlin 2ae6163523
Merge pull request #1562 from andercard0/patch-72
Atualização Português do Brasil
2021-02-04 13:48:37 +10:00
Connor McLaughlin 0d911f1ccd NoGUI: Fix ImGui assertion on confirm/error message 2021-02-04 13:47:16 +10:00
falsepopsky 4c0d3c5c9d fixed some misleading translation in android spanish, also updated to latest duckstation-qt_es 2021-02-03 21:59:24 -03:00
Anderson_Cardoso 281af1d23a
Atualização Português do Brasil
Update language file to latest and some tiny fixes.
2021-02-01 23:25:21 -03:00
Connor McLaughlin fd269ec9dd FullscreenUI: Use format string for TextWrapped() 2021-02-02 04:06:57 +10:00
Connor McLaughlin a50052bd92
Merge pull request #1554 from Max833/master
Qt: Fix incorrect widget help and translation
2021-02-02 03:54:33 +10:00
Connor McLaughlin 3fec066a92
Merge pull request #1557 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-02 03:53:14 +10:00
Anderson_Cardoso adb1857d8c
Atualização Pt-br (#1558)
* Atualização Pt-br

Small fixes only.

* Update duckstation-qt_pt-br.ts
2021-02-02 03:52:55 +10:00
Connor McLaughlin e0dd45c35e FullscreenUI: Fix game list settings not applying 2021-02-02 01:56:28 +10:00
Connor McLaughlin 1e8752759d NoGUI: Set default settings if missing 2021-02-02 01:47:27 +10:00
Connor McLaughlin c54842830f FullscreenUI: Support modal error/confirmation 2021-02-02 01:40:37 +10:00
Connor McLaughlin 626b2ecec1 GPU/Vulkan: Fix a possible layout violation when displaying
Happened in some games, e.g. Driver.
2021-02-02 00:52:23 +10:00
Connor McLaughlin 43bb69fb6b GPU/SW: Fix 576-line scanout of PAL games 2021-02-01 18:39:36 +10:00
Connor McLaughlin 904680f0df Settings: Make integer and linear upscaling mutually exclusive 2021-02-01 18:39:15 +10:00
zkdpower b7af4f8d62
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-01 10:32:39 +08:00
Max833 33e8b8230f
Update duckstation-qt_de.ts 2021-01-31 23:20:07 +01:00
Max833 276f2e2ceb
Update advancedsettingswidget.cpp 2021-01-31 22:02:40 +01:00
Connor McLaughlin 91092847f8 CommonHostInterface: Restore display skip on exit/pause
Fixes CPU usage/controller moving too quickly in menus after fast
forwarding in big duck mode.
2021-02-01 02:08:52 +10:00
Connor McLaughlin cbdf722dd6 GL/ContextEGL: Fix compiling with both DRM/KMS and X11 enabled 2021-02-01 01:45:30 +10:00
Connor McLaughlin dac9cdd04c GL/Context: Ensure context is destroyed before GBM device
Fixes crash on shutdown when running under DRM/KMS.
2021-02-01 01:28:39 +10:00
Connor McLaughlin 1a9120135f FullscreenUI: Fix some advanced setings not saving 2021-02-01 01:13:05 +10:00
Max833 bd43241f3e
Qt: Update German translation and register widget help (based on the new UI) (#1544)
* Update duckstation-qt_de.ts

* Update biossettingswidget.cpp

* Update emulationsettingswidget.cpp

* Update advancedsettingswidget.cpp

* Update displaysettingswidget.cpp
2021-02-01 01:11:49 +10:00
Connor McLaughlin 260e39a516
Merge pull request #1549 from andercard0/patch-70
Atualização Português do Brazil
2021-02-01 01:11:19 +10:00
Connor McLaughlin 590513350c NoGUI: Start in fullscreen when option or command line flag is set 2021-02-01 01:10:32 +10:00
Connor McLaughlin 23e102b90a GPU: Make display texture 720x576 instead of 1024x512
Some PAL games render in the full permissable 576 height, not 512.
2021-02-01 01:10:32 +10:00
Connor McLaughlin d1a5b89f0a FullscreenUI: Fix some textures leaking at shutdown 2021-02-01 01:10:32 +10:00
Connor McLaughlin 18405a713c FullscreenUI: Fix debug windows not drawing 2021-02-01 01:10:32 +10:00
Connor McLaughlin 51babf4009 AudioStream: Fix assertion failure in debug builds 2021-02-01 01:10:32 +10:00
Anderson_Cardoso 55415d3ce0
Atualização Português do Brazil
Update file to latest
2021-01-31 12:07:14 -03:00
Connor McLaughlin c17fb88426 FullscreenUI: Fix controller binding setting instantly 2021-01-31 18:11:56 +10:00
Connor McLaughlin bb2e35b732 FullscreenUI: Load covers on demand 2021-01-31 18:11:56 +10:00
Connor McLaughlin 85b4a02f20 Fix Android build 2021-01-31 17:28:37 +10:00
Connor McLaughlin 98bad30af8 NoGUI: Merge in old branch and use base NoGUI class for SDL 2021-01-31 17:10:27 +10:00
Connor McLaughlin b09da307b5 Common: Add DRM display helper class and GBM GL context 2021-01-31 17:10:27 +10:00
Connor McLaughlin dc0eb4cb04 Replace duckstation-sdl with stub directing users to duckstation-qt 2021-01-31 17:10:27 +10:00
Connor McLaughlin cae5bc1712 Add NoGUI frontend based on old SDL frontend + fullscreen UI 2021-01-31 17:10:27 +10:00
Connor McLaughlin 61e4e6f140 Add "Fullscreen UI" 2021-01-31 17:10:27 +10:00
Connor McLaughlin 0cdd1a70c0 Common/Image: Add helper for loading from stream 2021-01-31 17:10:27 +10:00
Connor McLaughlin 3a7d9f1725 CommonHostInterface: Add controller nav helpers 2021-01-31 17:10:27 +10:00
Connor McLaughlin 61d0af30a2 FileSystem: Add read/write binary stream helpers 2021-01-31 17:10:27 +10:00
Connor McLaughlin 41be96ef93 CommonHostInterface: Make RunLater()/ApplySettings() virtual 2021-01-31 17:10:27 +10:00
Connor McLaughlin ec60fa3c9d CommonHostInterface: Make fullscreen/exit functions public 2021-01-31 17:10:27 +10:00
Connor McLaughlin 2dbb3325ff CommonHostInterface: Tweak frame boundary for loading screen 2021-01-31 17:10:27 +10:00
Connor McLaughlin e1bf362d13 CommonHostInterface: Extract ff/turbo hotkeys to functions 2021-01-31 17:10:27 +10:00
Connor McLaughlin bed1abf0b8 CommonHostInterface: Add media path to save state info 2021-01-31 17:10:27 +10:00
Connor McLaughlin 4540a190c1 CommonHostInterface: Make input profile functions public 2021-01-31 17:10:27 +10:00
Connor McLaughlin 556cd6d168 CommonHostInterface: Add enumerator for OSD messages 2021-01-31 17:10:27 +10:00
Connor McLaughlin 96a36f4850 SDL: Remove gamepad handler from ImGui 2021-01-31 17:10:27 +10:00
Connor McLaughlin 48f78a9c41 GameList: Expose search directories list 2021-01-31 17:10:27 +10:00
Connor McLaughlin 55a1d0437d System: Display message on media change 2021-01-31 17:10:27 +10:00
Connor McLaughlin 98b4101cd7 Settings: Expose Save() method to interface 2021-01-31 17:10:27 +10:00
Connor McLaughlin 9d08f2e277 Settings: Fix show resolution not correctly saving to file 2021-01-31 17:10:27 +10:00
Connor McLaughlin 5875b738dc Common/FileSystem: Add a helper to get root directory list 2021-01-31 17:10:27 +10:00
Connor McLaughlin 7a48bcc585 FrontendCommon: Remove WITH_IMGUI #ifdefs
We never compile FrontendCommon without imgui anyway.
2021-01-31 17:10:27 +10:00
Connor McLaughlin e697d9aa33 HostDisplay: Move imgui context creation to base class 2021-01-31 17:10:27 +10:00
Connor McLaughlin e132cac0e5 ImGui: Clear memory for font after creating texture 2021-01-31 17:10:27 +10:00
Connor McLaughlin e614522de5 Common/String: Add helpers for std::string, std::string_view 2021-01-31 17:10:27 +10:00
Connor McLaughlin d8ea9c2983 GameSettings: Add helper to query number of user settings 2021-01-31 17:10:27 +10:00
Connor McLaughlin 582c77b604 ImGuiStyle: Return the font we create 2021-01-31 17:10:26 +10:00
Connor McLaughlin a563f99191 dep/imgui: Update to 9499afdf5e7f22e2cf4bf7c365d18f7e1d07572b 2021-01-31 17:10:10 +10:00
Connor McLaughlin 5aeabf028b Qt: Install crash handler on startup 2021-01-31 17:00:57 +10:00
Connor McLaughlin 122cf67bb3 Common: Add crash handler functions for Windows 2021-01-31 17:00:57 +10:00
Connor McLaughlin 35f8ea13d9 AudioStream: Prevent writing too many frames at once and hanging 2021-01-31 17:00:57 +10:00
Connor McLaughlin ef7d135492 GPU: Fix missing sync when hblank is pending 2021-01-31 16:39:51 +10:00
Connor McLaughlin 9d80c48d6f CPU: Fix icache missing from save state 2021-01-31 16:39:51 +10:00
Connor McLaughlin fa2cca1429
Merge pull request #1540 from ggrtk/analog-controller-update
AnalogController: Update behavior based on hardware testing
2021-01-31 16:23:11 +10:00
Connor McLaughlin c4386d6e71
Merge pull request #1534 from zkdpower/master
Update Simple-Chinese language file to latest
2021-01-31 16:22:56 +10:00
Connor McLaughlin 9abfbdd86f
Merge pull request #1531 from falsepopsky/spanishTranslationAndroid
Spanish translation android
2021-01-31 16:22:34 +10:00
Connor McLaughlin c61dc0dcbe
Merge pull request #1522 from andercard0/patch-67
Atualização Português do Brasil
2021-01-31 16:21:23 +10:00
Max833 c10e62e729
Qt: Update German translation (#1524)
* Update duckstation-qt_de.ts

* Update duckstation-qt_de.ts
2021-01-31 16:20:39 +10:00
Albert Liu 2938c946f9 AnalogController: Improve accuracy of rumble configuration 2021-01-30 00:53:43 -08:00
Albert Liu c9c2f1bd21 AnalogController: Handle more config mode 0x46 and 0x47 cases 2021-01-29 23:50:45 -08:00
zkdpower c03f48c907
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-29 17:06:21 +08:00
falsepopsky 24c7021d0c new language translation for android => Spanish, also updated and fixed the last duckstation-qt_es translation to latest 2021-01-28 21:54:54 -03:00
Connor McLaughlin 3c2b11fccb System: Don't log rewind pending flag when disabled 2021-01-29 01:27:32 +10:00
Anderson_Cardoso 43a682b358
Atualização Português do Brasil
Update Brazilian Portuguese language to latest.
2021-01-28 12:06:56 -03:00
Connor McLaughlin 84c30703b2 Settings: Disable interlacing by default
The games which require it are auto-disabled by gameini.
2021-01-28 23:52:25 +10:00
Connor McLaughlin 9ada3c8e6f Settings: Rename 'Display All Frames' to 'Optimal Frame Pacing' 2021-01-28 23:50:39 +10:00
Connor McLaughlin 4bb3fb48f9 System: Add a new throttler/pacer which can catch up on lost time
This can result in worse frame pacing, so if you have a decent machine
you'll probably want to turn on "display all frames" in display
settings.

But, it's sadly needed for Android.
2021-01-28 21:04:23 +10:00
Connor McLaughlin 4e583890ea AudioStream: Add option to wait until a full buffer is queued 2021-01-28 21:04:23 +10:00
Connor McLaughlin 9316ce532b Common/Timer: Add SleepUntil() method 2021-01-28 21:04:23 +10:00
Max833 ed4ed259e3
UI: Add missing register widget help (#1515)
* Update displaysettingswidget.cpp

* Update generalsettingswidget.cpp

* Update consolesettingswidget.cpp
2021-01-28 21:03:51 +10:00
Connor McLaughlin d23474f552
Merge pull request #1516 from falsepopsky/SpanishTranslation
Update Spanish translation file to Latest
2021-01-28 21:02:18 +10:00
falsepopsky 061268e76f Updated Spanish Translation by @falsepopsky 2021-01-26 20:51:54 -03:00
Connor McLaughlin 700f916a34 Qt: Update Japanese translation by mikakunin 2021-01-27 01:21:03 +10:00
Connor McLaughlin 368820d6e9 Vulkan: Default to two swap chain images 2021-01-27 01:21:03 +10:00
Connor McLaughlin 1320e4fdab GameSettings: Fix texture filter setting not loading from ini 2021-01-27 01:21:03 +10:00
Connor McLaughlin c119ccffc8
Merge pull request #1511 from andercard0/patch-66
Atualização Português do Brasil
2021-01-27 01:14:17 +10:00
zkdpower c5dd0ef2ae
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-26 11:31:02 +08:00
Anderson_Cardoso 9e394c31bf
Atualização Português do Brasil
Update translation to latest.
2021-01-25 23:06:57 -03:00
Connor McLaughlin 1b6780386f Qt: Update Japanese translation by mikakunin 2021-01-26 03:38:32 +10:00
Connor McLaughlin a5dfc68ac9 GameSettings: Add runahead as per-game setting 2021-01-26 03:38:32 +10:00
Connor McLaughlin 16a32bf696 Qt: Simplify runahead settings 2021-01-26 03:38:31 +10:00
Connor McLaughlin 1b16ba3d98 Warning fixes 2021-01-26 03:38:31 +10:00
Connor McLaughlin e79dff1731 System: Use hybrid sleep on Android 2021-01-26 03:38:31 +10:00
Connor McLaughlin 52f5ca7e28 Common/Timer: Add additional sleep functions 2021-01-26 03:38:31 +10:00
Connor McLaughlin 0d473e8681 ImGui: Fix incorrect buffer binding/crash in GLES2 2021-01-26 03:38:31 +10:00
Connor McLaughlin 8cafe856f0 OpenGLHostDisplay: Work around functions unavailable in GLES2 2021-01-26 03:38:31 +10:00
Connor McLaughlin 24dd49e05d GPU: Fix runahead with MSAA enabled in D3D11/Vulkan 2021-01-26 03:22:23 +10:00
Max833 8ceadf802c Update german translation 2021-01-26 03:22:23 +10:00
zkdpower 791012d151 Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-26 03:22:23 +10:00
Connor McLaughlin 12dd62a738 Qt: Add missing minipsf extension to all file types filter 2021-01-25 02:30:28 +10:00
Anderson_Cardoso 557f3c9ca1
Atualização Português Brasil
Updated translation to latest.
2021-01-24 12:59:33 -03:00
Connor McLaughlin b7752ff30b CDROM: Update position when pausing while seeking instead of erroring
This was causing freezes in FF7 - needs more research.
2021-01-25 01:49:35 +10:00
Connor McLaughlin 6eeca57a06 CommonHostInterface: Wrap OSD messages 2021-01-25 01:15:46 +10:00
Connor McLaughlin b3ce2b21c0 System: Prevent using both runahead and rewind concurrently 2021-01-25 01:15:46 +10:00
Connor McLaughlin 3f96473fb5 System: Reuse existing texture/buffers for runahead/rewind 2021-01-25 01:15:46 +10:00
Connor McLaughlin e01d66d18e System: Implement runahead 2021-01-25 01:15:46 +10:00
Connor McLaughlin 689b62e065 Qt: Add settings for rewind 2021-01-25 01:15:45 +10:00
Connor McLaughlin 516d685dd0 System: Add memory-only save states and rewind 2021-01-25 01:15:45 +10:00
Connor McLaughlin 6c6fdeb15e HostDisplay: Make textures have levels/layers/samples attributes 2021-01-24 20:41:40 +10:00
Connor McLaughlin e54ba23c4f Qt: Move speed settings into its own category 2021-01-24 20:41:40 +10:00
Connor McLaughlin ddcc29c8a6 Qt: Delay showing game list refresh progress
Otherwise we spend more time updating the visuals than actually
scanning.
2021-01-24 18:55:37 +10:00
Connor McLaughlin 4a60cc4c1e VulkanHostDisplay: Ensure previous frame is presented before acquiring image 2021-01-24 17:37:09 +10:00
Connor McLaughlin b1d4d5db5e Vulkan/SwapChain: Recreate semaphores when resizing
Prevents us acquiring an image on an already-signaled semaphore.
2021-01-24 17:37:09 +10:00
Connor McLaughlin 6a122623fa GameList: Increment progress on each file, not each load 2021-01-24 17:37:09 +10:00
Connor McLaughlin d62e6ffbb3 Qt: Add icons for unknown region and PSF files in game list 2021-01-24 17:37:09 +10:00
Connor McLaughlin f61427017d GameList: Remove exe/psf extensions from titles in game list 2021-01-24 17:37:09 +10:00
Connor McLaughlin 76ec38ee47 GameList: Support scanning PSF/MiniPSF files 2021-01-24 17:37:09 +10:00
Connor McLaughlin 41a9231a87 GameList: Use region from exe 2021-01-24 17:37:09 +10:00
Connor McLaughlin b62f31fd96 System: Use region from exe/psf when booting 2021-01-24 17:37:09 +10:00
Connor McLaughlin 253b115b11 PSFLoader: Detect region from exe 2021-01-24 17:37:09 +10:00
Connor McLaughlin 10135e08a2 PSFLoader: Support loading minipsfs/libraries 2021-01-24 17:37:09 +10:00
Silent c31ec6d428
Update PL translation 2021-01-23 22:17:08 +01:00
Silent e8e8fd9ffa
InputBindingDialog: Allow to translate the Close button 2021-01-23 22:02:10 +01:00
Connor McLaughlin 4433197665 CPU/Recompiler: Fix hang in AArch32/armv7 2021-01-21 13:20:02 +10:00
Connor McLaughlin 63562e4527 Qt: Preserve surface when switching fullscreen and not-render-to-main 2021-01-20 21:40:54 +10:00
Connor McLaughlin 4e802e90ca SPU: Move voice key off/on outside sample loop
Should be a very tiny performance boost with no difference in behaviour.
2021-01-20 12:32:37 +10:00
Connor McLaughlin 8c8f29c047 CDROM: Double audio FIFO low watermark size
Gives a better chance to catch up in case of desyncs.
2021-01-20 12:09:44 +10:00
Connor McLaughlin 3c012ec6ef SPU: Consider partial ticks when generating pending samples
Fixes hitches in opening FMV in Soul Blade (Europe).
2021-01-20 12:05:06 +10:00
Connor McLaughlin a927bfbe50 GPU/HW: Flush after each primitive for B-F transparency
Slow, but necessary for some games such as Suikoden II, where it draws
multiple polygons to the same area on screen with different transparency
modes.
2021-01-20 01:08:36 +10:00
Connor McLaughlin cbee8fab66 CommonHostInterface: Throttle rumble updates to changes or every 100ms
These updates appear to be synchronous, and limit how fast we can fast
forward when controllers are connected via bluetooth.
2021-01-19 00:27:34 +10:00
Connor McLaughlin d4f52f1ec7 GTE: Force inline a few of the helper functions
Tiny performance improvement.
2021-01-19 00:07:26 +10:00
Connor McLaughlin 914b9bf738 SPU: Drain transfer FIFO when cancelling transfer
The busy bit got stuck on otherwise, which broke the Spanish translation
of Vagrant Story.
2021-01-18 20:43:10 +10:00
Connor McLaughlin 699d599d00 GPU: Clear display when disabling DAC and interlaced
Fixes old output showing up briefly when it's re-enabled.
2021-01-18 03:28:14 +10:00
Connor McLaughlin 9da35be0a8 Qt: Update Japanese translation by mikakunin 2021-01-17 02:48:23 +10:00
Connor McLaughlin 29690c4635 GPU/SW: Fix interlaced output getting corrupted when size changes
Fixes glitches in screen when tilting table in Pro Pinball.
2021-01-17 02:45:13 +10:00
Silent f74a4ad6ee
Update PL translation 2021-01-16 16:32:12 +01:00
Silent 2cd4357a5a
Fix size policy for Game List buttons
Allows translations to expand those buttons into
multiple lines.
2021-01-15 18:13:57 +01:00
Connor McLaughlin 6fbd970b55 Common/AudioStream: Fix race condition with resampling reset while reading 2021-01-16 02:56:04 +10:00
Connor McLaughlin 4c9e0299ed Common/FIFOQueue: Fix incorrect assertion failure in debug builds 2021-01-16 02:56:04 +10:00
Connor McLaughlin e81df6bddd Settings: Disable host refresh rate sync by default 2021-01-16 02:56:04 +10:00
Connor McLaughlin 9c30990f8f
Merge pull request #1462 from zkdpower/master
Update Simple-Chinese language file to latest
2021-01-16 02:55:27 +10:00
Anderson_Cardoso e66d353549
Atualização Português do Brasil
Android - Strings not available for translation as follows:

- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-15 00:03:48 -03:00
zkdpower 0decadd86d
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-15 10:27:04 +08:00
Connor McLaughlin 02948f988d CDROM: Return 0x00 on response FIFO overread
Fixes CyberSled hanging on boot.
2021-01-14 01:51:01 +10:00
Connor McLaughlin ffa3744b3b Settings: Add 20:9 display aspect ratio 2021-01-14 00:45:46 +10:00
Connor McLaughlin d44de3a9dc System: Use SetWaitableTimer() for throttling on Windows 2021-01-14 00:40:25 +10:00
Connor McLaughlin 93959a9d88 CPU: Fix crash with some block cycle counts on ARM
Fixes crash in Capcom vs SNK Pro.
2021-01-13 20:19:24 +10:00
Connor McLaughlin 37f9f118c4 Android: Add 'Open Pause Menu' hotkey 2021-01-13 19:26:24 +10:00
Connor McLaughlin 1ae4b94eb2 AudioStream: Don't hold lock while resampling 2021-01-13 19:25:15 +10:00
Connor McLaughlin 2b5cfb272c Qt: Add dump VRAM and SPU RAM actions 2021-01-13 19:24:41 +10:00
Connor McLaughlin b5ffbfe826 Qt: Fix audio sliders not applying correctly 2021-01-13 02:37:04 +10:00
Connor McLaughlin 220f2f4845 Vulkan: Fix typo causing debug shaders to be used 2021-01-13 02:37:04 +10:00
Anderson_Cardoso fc58d8e8cc
Atualização Português do Brasil
Android - Strings not available for translation as follows:

- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-11 14:01:45 -03:00
Connor McLaughlin a0a24c7752 GPU/Vulkan: Only update sample texture when render area dirty
Fixes crash when using Show VRAM in some games with Vulkan.
2021-01-12 02:19:23 +10:00
Connor McLaughlin 16ad54143b HostInterface: Don't sleep when syncing to host refresh 2021-01-12 02:19:23 +10:00
zkdpower 6712f6b649
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-11 17:15:52 +08:00
Connor McLaughlin 873b9f622a
Merge pull request #1432 from andercard0/patch-62
Atualização Português do Brasil
2021-01-11 15:42:23 +10:00
Connor McLaughlin e5915846a4
Merge pull request #1433 from ggrtk/qt-update-widget-help-text
Qt: Update widget help text
2021-01-11 15:42:12 +10:00
Connor McLaughlin 13cba122ef HostDisplay: Move Windows fallback for refresh rate query to HostInterface 2021-01-11 15:24:38 +10:00
Connor McLaughlin fd166a4485 ShaderCache: Add a data version field
We can increment this to prevent people's shader caches from growing too
large with shader changes.
2021-01-11 15:24:38 +10:00
Connor McLaughlin 97971464d1 GPU/ShaderGen: Remove texcoord offset
Doesn't seem to be needed anymore, and causes issues in some games (e.g.
flickering polygons in Evil Dead)
2021-01-11 15:12:16 +10:00
Albert Liu 29331ef679 Qt: Update widget help text 2021-01-10 20:49:25 -08:00
Anderson_Cardoso 69f14feec1
Atualização Português do Brasil
Android - Strings not available for translation as follows:

- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-10 17:32:27 -03:00
Connor McLaughlin bc5fb850d4 AudioStream: Reset resampler state on emptying buffers 2021-01-11 03:58:14 +10:00
Connor McLaughlin 43d01776dc HostInterface: Add "Sync To Host Refresh Rate" option 2021-01-11 03:50:44 +10:00
Connor McLaughlin bb572741ae HostDisplay: Add GetHostRefreshRate() function
Only implemented in Windows for now.
2021-01-11 03:50:13 +10:00
Connor McLaughlin d23645e02f CMake: Fix Linux build 2021-01-11 03:18:30 +10:00
Connor McLaughlin ce965e89ca Qt/Android: Add help text for resampling, turn on by default 2021-01-11 02:27:14 +10:00
Connor McLaughlin fdeef65676 Qt: Move emulation speed settings to console settings 2021-01-11 02:12:20 +10:00
Connor McLaughlin 54f5563321 Qt: Add turbo speed setting 2021-01-11 01:57:10 +10:00
Connor McLaughlin d73fedcef1 Qt: Make about dialog slightly taller 2021-01-11 01:32:19 +10:00
Connor McLaughlin 692eb035ec Qt: Fix flex sizing with >1 flex column 2021-01-11 01:29:31 +10:00
Connor McLaughlin a5f9aa11e1 Settings: Add audio resampling when running at non-standard speed 2021-01-11 01:14:32 +10:00
Connor McLaughlin 54c7fc6b08 AudioStream: Support resampling input 2021-01-11 01:14:32 +10:00
Connor McLaughlin 19032750b4 CDROM: Don't treat no-region discs as audio CDs
Fixes some homebrew games not booting.
2021-01-11 01:05:21 +10:00
Connor McLaughlin 2c2195b116 Qt: Update Polish translation by Zuzia 2021-01-11 01:04:54 +10:00
Connor McLaughlin 11992bde4e TimingEvents: Use function pointers instead of std::function 2021-01-10 01:45:07 +10:00
zkdpower 8c241ed8de
Update Simple-Chinese language file to latest (#1424)
* 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-01-10 01:43:35 +10:00
Connor McLaughlin b4d1dcfe4b
Merge pull request #1415 from andercard0/patch-61
Atualização Português do Brasil
2021-01-10 01:43:28 +10:00
Connor McLaughlin 15652b4c1f SPU: Fix a few cases where SPU interrupts weren't firing 2021-01-10 01:39:21 +10:00
Connor McLaughlin df98a0b04e CPU/Recompiler: Fix incorrect speculative byte/halfword reads
Fixes crash on boot in Monkey Magic.
2021-01-10 01:38:35 +10:00
Connor McLaughlin 4fafb34251 CommonHostInterface: Move input map update to frontend
Fixes controller state getting reset when loading input profile.
2021-01-09 14:54:53 +10:00
Connor McLaughlin ad0d16e243 Qt: Fix failing to load unicode filenames on command line 2021-01-09 12:02:33 +10:00
Connor McLaughlin 64fc560314 Qt: Don't allocate a console when loading settings 2021-01-09 01:53:15 +10:00
Connor McLaughlin 9d7f4523b0 Log: Close C file handles on free (win32)
Fixes toggling console not hiding the window.
2021-01-09 01:52:48 +10:00
Anderson_Cardoso 693b070889
Atualização Português do Brasil
Could you please make the following strings available for translation in Android? 

- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-08 11:51:46 -03:00
Connor McLaughlin 9951921a6d Log: Enable virtual terminal processing on Win32
This way we don't need to set the registry value.
2021-01-09 00:39:32 +10:00
Connor McLaughlin b0398f5aa7 Qt: Add shutdown without saving menu option 2021-01-09 00:23:02 +10:00
Connor McLaughlin 6a04803502
Merge pull request #1394 from piepacker/msw_console_behavior
Console: Fix problems when using CLI from MSYS2/GitBash/ConEmu
2021-01-09 00:22:37 +10:00
Connor McLaughlin 5add87c8ad
Merge pull request #1410 from ggrtk/get-analog-input-bytes
Controller: Add method for reading analog input bytes
2021-01-09 00:19:38 +10:00
Connor McLaughlin c6da182232
Merge pull request #1412 from ggrtk/sdl-rumble-duration-fix
CommonHostInterface: Update rumble every frame regardless of change
2021-01-09 00:17:46 +10:00
Connor McLaughlin 8d56a3d186
Merge pull request #1414 from zkdpower/master
Update Simple-Chinese language file to latest
2021-01-09 00:17:18 +10:00
zkdpower bfd4273f2c
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-08 21:56:09 +08:00
Albert Liu d860c14267 CommonHostInterface: Update rumble every frame regardless of change
Fixes SDL rumble cutting off early when a game sends the same motor
strength values every frame over a long duration.
2021-01-07 18:30:43 -08:00
Albert Liu 5ff3299384 Controller: Add method for reading analog input bytes 2021-01-07 15:04:23 -08:00
Connor McLaughlin 419726f4cc Remove libretro core - core will now be maintained by libretro
libretro have agreed to take over maintenance of the core.

Please see their fork at https://github.com/libretro/duckstation if you
wish to continue to use it.
2021-01-08 01:37:59 +10:00
Jake Stine f26b094cf7 Console: Use ANSI escape codes and remove entirely Win32's legacy WriteConsoleA code.
Also fixes android build failure (missing unistd.h)
2021-01-07 07:05:33 -08:00
Connor McLaughlin 24c373245e MemoryCard: Make formatting OSD message translatable 2021-01-07 12:15:57 +10:00
Connor McLaughlin d86fc03ecb
Merge pull request #1391 from andercard0/patch-60
Atualização Português do Brazil
2021-01-07 12:15:24 +10:00
Connor McLaughlin ee60c02e0a
Merge pull request #1402 from zkdpower/master
Update Simple-Chinese language file to latest
2021-01-07 12:15:16 +10:00
Connor McLaughlin 5eca471624
Merge pull request #1403 from RaydenX93/update_it_20210106
Italian Language Update
2021-01-07 12:15:01 +10:00
RaydenX93 3f11cb1de1 Update duckstation-qt_it.ts 2021-01-06 18:44:54 +01:00
zkdpower 7de3fafff6
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-07 00:43:46 +08:00
Silent de075fffc3
Register more glyph ranges supported by Roboto
Adds support for Polish, makes Russian use a default font
2021-01-05 18:17:18 +01:00
Jake Stine c9b8dc13fd Console: Fix problems when using CLI from MSYS2/GitBash/ConEmu
- Fix issue where console output is lost when running from MSYS2/GitBash CLI
 - Fix issue where pipe redirections would be overridden and otuput would always go to the attached console (this affected windows cmd prompt as well as other shell CLIs)
 - Simplify some logic regarding registering of the standard output writer
2021-01-05 07:35:11 -08:00
Connor McLaughlin f832dca975 Bus: Don't force inline EXP1/EXP2 access 2021-01-06 01:02:30 +10:00
Connor McLaughlin f3cdfe97a7 Bus/EXP2: Support openbios putc address 2021-01-06 00:56:35 +10:00
Anderson_Cardoso 7f22dc4199
Atualização Português do Brazil
Android - Strings not available for translation as follows:

- Theme
- Down sampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-05 11:49:36 -03:00
Connor McLaughlin 845cd37835 DMA: Determine slice size based on whether pad is transmitting
Plenty of games seem to suffer from this issue where they have
a linked list DMA going while polling the controller. Using a
too-large slice size will result in the serial timing being off,
and the game thinking the controller is disconnected. So we
don't hurt performance too much for the general case, we reduce
this to equal CPU and DMA time when the controller is
transferring, but otherwise leave it at the higher size.
2021-01-06 00:15:42 +10:00
Connor McLaughlin 98a4e59f52 Qt: Fix some strings not being translatable 2021-01-06 00:15:42 +10:00
Bekon241 a5078d7e35
Zuzia pl language support (#1384)
* Update duckstation-qt_pl.ts
2021-01-05 18:01:28 +10:00
Connor McLaughlin 25b0b72566
Merge pull request #1383 from zkdpower/master
Update Simple-Chinese language file to latest
2021-01-05 18:00:25 +10:00
Connor McLaughlin a6e1b3c4ad
Merge pull request #1389 from ggrtk/ps3-bios-size
BIOS: Add check for older BIOS from PS3
2021-01-05 17:59:57 +10:00
Connor McLaughlin cdefcf7359 HostInterface: Log when all enhancements are disabled by config 2021-01-05 17:58:55 +10:00
Albert Liu 79012d5288 BIOS: Add check for older BIOS from PS3
Same revision number as newer PS3, but different file size and 512KB
hash.
2021-01-04 23:54:42 -08:00
Connor McLaughlin 0534f36b8d D3D11HostDisplay: Fix incorrect format support check
Was resulting in RGB565 textures trying to be created when unsupported.
2021-01-05 17:47:59 +10:00
Connor McLaughlin e3de44d127 D3D11/Texture: Log attributes when creation fails 2021-01-05 17:19:05 +10:00
Connor McLaughlin 8f5c20bdf5 BIOS: Improve robustness of BIOS searching
Always prefer a known BIOS image over an unknown image. Hopefully this
will stop people getting crashes on startup due to other files in the
BIOS directory confusing it.
2021-01-05 12:22:18 +10:00
Connor McLaughlin 5cd261a5b2 BIOS: Only match PS1 and PS2 BIOS images exactly 2021-01-05 12:22:13 +10:00
zkdpower c0dfc49db3
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-01-05 03:36:07 +08:00
Connor McLaughlin c3b0a87029 CommonHostInterface: Move settings filename to start of class 2021-01-05 00:58:32 +10:00
Connor McLaughlin 9056db0a0f Qt: Add Polish translation by Zuzia and Seba 2021-01-05 00:46:41 +10:00
Connor McLaughlin 73f6521452 SPU: Check voice addresses on IRQ re-enable
NASCAR 2001 music depends on the IRQ firing multiple times, when the
voice address is still set to the IRQ address.
2021-01-05 00:46:41 +10:00
Connor McLaughlin e3262fc0a4 CPU: Compile fix for debug builds 2021-01-05 00:46:41 +10:00
johnnyruz f7b0c0f493
Add cli parameter to override default settings file (#1375)
* Add cli parameter to specify alternate settings file

* fix issue with error message string parameter
2021-01-05 00:46:16 +10:00
Connor McLaughlin 35fdae0d95
Merge pull request #1372 from ggrtk/analog-controller-refactor
AnalogController: Refactor data transfer implementation
2021-01-05 00:45:37 +10:00
Anderson_Cardoso 2898d27c53
Atualização Português do Brazil
Android - Strings not available for translation as follows:

- Theme
- Downsampling
- Controller Mapping
- Use analog Sticks for D-Pad
- Disable All Enhancements 
- Threaded GPU Presentation
- Clear Bindings (in controller mapping options menu)
- Port 1 / Port 2 (in controller mapping options menu)
- Hotkeys (in controller mapping options menu)
2021-01-03 16:08:42 -03:00
Connor McLaughlin affffca3da GPU/HW: Set max resolution scale to 32
The UI is intentionally left at 16x. Going too high **will** make you
run out VRAM and your system will start acting strangely. But for those
people who really want to do it, you can go 32x in Vulkan with the SDL
frontend, or by setting it in the ini.
2021-01-04 03:11:14 +10:00
Connor McLaughlin 9ff8130e40 fixup! CPU: Make trace-to-file toggleable at runtime and in release builds 2021-01-04 03:11:14 +10:00
PugsyMAME c9b75f7490 Updated DebuggerWindow Files for Tracer 2021-01-04 03:11:14 +10:00
Connor McLaughlin bf1d51b5d8 CPU: Make trace-to-file toggleable at runtime and in release builds 2021-01-04 03:11:14 +10:00
PugsyMAME 4b7820d1e5 Icon For Tracer 2021-01-04 03:11:14 +10:00
Connor McLaughlin f369e3c476 HostDisplay: Fix vram pixels bleeding into edges of display with linear filtering 2021-01-04 03:11:14 +10:00
Albert Liu 04884257d6 AnalogController: Refactor data transfer implementation 2021-01-03 09:09:49 -08:00
Connor McLaughlin b3bf9f3f10 GameSettings: Fix compilation with libretro 2021-01-03 19:06:24 +10:00
Connor McLaughlin 4eee5ebdb7 Android: Add per-game settings and properties UI 2021-01-03 18:30:06 +10:00
Connor McLaughlin 6ff73f35bd GameSettings: Add string key accessors 2021-01-03 17:26:51 +10:00
Connor McLaughlin 0de34d7bf7 DMA: Increase precision for large transfers
Also gets rid of the delay on the GPU side for writing to VRAM (doesn't
make sense), and it's not needed since we slice the block transfers now.

Fixes palette corruption in Vigilante 8, and missing rider in
Championship Motocross 2001 featuring Ricky Carmichael.
2021-01-03 16:11:42 +10:00
Connor McLaughlin c9ef3ec1a3 DMA: Clear state on shutdown
Fix a rare crash where the GPU starting after a second boot accesses
uninitalized DMA fields.
2021-01-03 14:48:02 +10:00
Connor McLaughlin 2ec26e54b7 GPU/HW: Disable downsampling when using 24-bit display
It's dropped to 1x first anyway.
2021-01-03 12:18:21 +10:00
Connor McLaughlin 0d281538cf CDImageCue: Disable implicit pregap insertion for audio CDs
Fixes supplementary disc detection in Dancing Stage
featuring DREAMS COME TRUE.
2021-01-02 01:33:13 +10:00
Connor McLaughlin a63a6b7a20 Qt: Update Japanese translation by mikakunin 2021-01-01 19:58:54 +10:00
Connor McLaughlin 40257e5b20 GPU/HW: Don't set m_pgxp_depth_buffer when PGXP is disabled
Fixes text corruption in Castlevania when PGXP is disabled and depth
buffer is enabled.
2021-01-01 17:49:20 +10:00
Connor McLaughlin c9240eea72 CPU/Recompiler: Use PGXP interpreter for fallback
Fixes holes in geometry with PGXP enabled in Threads of Fate.
2021-01-01 17:16:55 +10:00
Connor McLaughlin 4e87b30b40 System: Skip throttler phase reset when running at <100% 2021-01-01 14:08:09 +10:00
Connor McLaughlin 04a187afb2 CDROM: Fix read error/unlicensed flag getting set on all discs
Regression from 75aa52ab06.
2021-01-01 03:00:16 +10:00
Connor McLaughlin 75aa52ab06 CDROM: Fail reads immediately for audio/unlicensed CDs
Fixes first track being unavailable on audio CDs in Vib-Ribbon.
2021-01-01 01:38:14 +10:00
Connor McLaughlin 9294bf6be3 CDROM: Keep target location even after failed seeks 2021-01-01 01:37:51 +10:00
Connor McLaughlin 187de65f50 CDROM: Reset disc position to start after switching discs 2021-01-01 00:01:13 +10:00
Connor McLaughlin 3ffbbe82e8 SDLControllerInterface: Use SDL_GameControllerRumble where supported
Allows vibration on DualShock 4 without using DS4Windows.
2020-12-31 19:41:51 +10:00
Connor McLaughlin 4f32f2f915
Merge pull request #1357 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-31 19:41:23 +10:00
Connor McLaughlin aa0eb5153e
Merge pull request #1358 from ggrtk/qt-displaysettings-text
Qt/DisplaySettingsWidget: Fix recommended value not being translated
2020-12-31 19:41:04 +10:00
Albert Liu dde5a4e2d8 Qt/DisplaySettingsWidget: Fix recommended value not being translated 2020-12-31 01:07:24 -08:00
Connor McLaughlin 6d501bff56 GL/Program: Use glBindFragDataLocationIndexedEXT for GLES 2020-12-31 13:29:41 +10:00
zkdpower 041880df34
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-31 07:47:25 +08:00
Connor McLaughlin 5690aef057 CDROM: Send seek error when read+seeking to audio sector
Fixes hang in Vib-Ribbon when using an audio CD.
2020-12-31 03:19:51 +10:00
Connor McLaughlin f911e90e17 CDROM: Hopefully fix crash in debug window when reading lead-out 2020-12-31 02:10:49 +10:00
Connor McLaughlin 02377b1a92 CPU/CodeCache: Fix possible crash on invalidate->recompile->overflow 2020-12-31 02:10:49 +10:00
Anderson_Cardoso 1f10bdd7cd
Atualização Português do Brasil
Update Portuguese Brazil language file to latest.
2020-12-30 10:40:23 -03:00
Connor McLaughlin e464a8c332 CommonHostInterface: Disable some hotkeys on Android 2020-12-30 19:42:14 +10:00
Connor McLaughlin 2672e2b505 libretro: Build fix 2020-12-30 19:42:14 +10:00
Connor McLaughlin 7b532ebb7f
Merge pull request #1347 from andercard0/patch-56
Atualização Português do Brasil
2020-12-30 18:11:17 +10:00
Connor McLaughlin f5230fdb14
Merge pull request #1346 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-30 18:10:51 +10:00
Connor McLaughlin 78282d1508 GameSettings: Add downsampling mode 2020-12-30 17:53:51 +10:00
Connor McLaughlin 3cb2cd8235 GPU: Add adaptive and box downsampling modes 2020-12-30 17:41:39 +10:00
Connor McLaughlin 5236583544 Vulkan/Texture: Support transitioning individual mip levels 2020-12-30 17:39:40 +10:00
Connor McLaughlin 2ce5dc3bbe Vulkan: Don't hardcode mipmap samplers to lod0 2020-12-30 17:39:40 +10:00
Connor McLaughlin 59e8363075 D3D11: Support mipmaps in wrapper textures 2020-12-30 17:39:40 +10:00
Connor McLaughlin 68ce959d70 Settings: Add option to temporarily disable all enhancements 2020-12-30 17:39:29 +10:00
Connor McLaughlin 40f241dde3 PlaystationMouse: Fix incorrect translation context for help 2020-12-30 17:03:59 +10:00
Anderson_Cardoso dd04c5983e
Atualização Português do Brasil
Translation updated to latest.
2020-12-29 18:16:54 -03:00
zkdpower 674b26bef7
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-30 04:21:52 +08:00
PugsyMAME 3284a18ad3
Add new Cheat Type F4, Find & Replace Bytes (#1345)
* Add new Cheat Type F4, Find & Replace Bytes

Also knows as 'AOB' apparently. Information about how it works will be in the next chtdb.txt header or you can read/ask about it on the discord channel.

* Add new Cheat Type F4, Find & Replace Bytes 

Also knows as 'AOB' apparently. Information about how it works will be in the next chtdb.txt header or you can read/ask about it on the discord channel.

* Added error trapping for cheat type F4

As suggested
2020-12-30 00:55:49 +10:00
Connor McLaughlin 6bf37f51be Android: Add controller interface class 2020-12-29 22:49:52 +10:00
Connor McLaughlin 0945744f9b FrontendCommon: Add DInput controller interface
Still needs force feedback/vibration support.
2020-12-29 22:49:52 +10:00
Connor McLaughlin a3e4c61a0b CommonHostInterface: Add a method to get top-level window handle 2020-12-29 22:49:52 +10:00
Connor McLaughlin a894b295b6 CPU/CodeCache: Fix assertion failure when patching in double branch 2020-12-29 22:49:52 +10:00
Connor McLaughlin b38e4b8ba7
Merge pull request #1341 from ggrtk/hostdisplay-fixes
HostDisplay: Fix some scaling issues
2020-12-29 22:49:29 +10:00
Connor McLaughlin 6f22d5c151
Merge pull request #1333 from andercard0/patch-55
Atualização Português do Brasil
2020-12-29 22:48:25 +10:00
Connor McLaughlin 4fdedf5f14
Merge pull request #1340 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-29 22:48:12 +10:00
Albert Liu 1c1ca45e4e VulkanHostDisplay: Fix post shader uniform buffer 2020-12-29 01:33:41 -08:00
Albert Liu 11fbf26045 HostDisplay: Use floats internally for draw rectangle calculation 2020-12-29 01:33:41 -08:00
Albert Liu e0f3a4f17b HostDisplay: Calculate draw rectangle in terms of horizontal scale 2020-12-29 01:33:40 -08:00
Albert Liu b824844043 HostDisplay: Fix framebuffer screenshot scaling 2020-12-29 01:33:40 -08:00
zkdpower 489169c8ce
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-29 09:41:10 +08:00
Anderson_Cardoso acaa13aba0
Atualização Português do Brasil 2020-12-28 15:19:57 -03:00
Connor McLaughlin a48add94f8
Merge pull request #1332 from ggrtk/ps2-bios-size
Update BIOS image handling
2020-12-29 02:19:13 +10:00
Connor McLaughlin fa7442fddb Qt: Fix mouse-cursor-in-fullscreen regression 2020-12-29 02:00:31 +10:00
Connor McLaughlin fcec112613
Merge pull request #1329 from RaydenX93/master
Italian Translation Update - PC
2020-12-28 11:56:49 +10:00
Albert Liu d9096ca12d BIOS: Prevent patching incompatible BIOSes 2020-12-27 16:14:28 -08:00
Albert Liu 0e2276fc7a BIOS: Add support for loading PS2 BIOSes 2020-12-27 15:32:41 -08:00
Albert Liu 4db29f9399 HostInterface: Check all console regions when looking for any BIOS 2020-12-27 15:32:41 -08:00
RaydenX93 7f57d678bd Update duckstation-qt_it.ts 2020-12-27 17:52:44 +01:00
PugsyMAME 90073ac1d0
Cheat Manager Memory Scanner improvements
Updated Memory Scanner to use sized hexadecimal in results and manual watches.
Enforced Halfword,Word address settings so that it's a valid word or halfword that is being watched.
2020-12-27 16:12:10 +00:00
Connor McLaughlin f9ac25f2b8 CDROM: Actually fix playing tracks 10+ 2020-12-28 01:40:38 +10:00
Connor McLaughlin c04d6f9ef8 CDROM: Play command track should be BCD
Fixes tracks >= 10 in BIOS CD player, maybe games?
2020-12-28 01:17:41 +10:00
Connor McLaughlin 8bb5ff47eb PlaystationMouse: Add option to use relative mode 2020-12-28 00:37:04 +10:00
Connor McLaughlin ca42d027ac Qt: Implement relative mouse mode 2020-12-28 00:37:04 +10:00
Connor McLaughlin 114d4a2c1d
Merge pull request #1325 from PugsyMAME/master
Fixed Pattern found address in Debugger Search
2020-12-28 00:36:45 +10:00
Connor McLaughlin 157532b0fe
Merge pull request #1320 from andercard0/patch-54
Atualização Português do Brasil
2020-12-28 00:36:20 +10:00
PugsyMAME 67f6bd2bcb
Fixed Pattern found address in Debugger Search
"Pattern found at 0x%1" was passing a decimal value to %1 instead of a hexadecimal one
2020-12-27 11:20:26 +00:00
Albert Liu d7e8b5a4c2 Qt: Update Japanese translation by mikakunin 2020-12-27 00:57:55 -08:00
Albert Liu 46239e3d09 Qt/CheatManagerDialog: Fix lupdate warning 2020-12-27 00:57:55 -08:00
Albert Liu 2a1bf9925a Qt: Make Auto (Game Native) aspect ratio string translatable 2020-12-27 00:57:55 -08:00
Anderson_Cardoso ab2198be28
Atualização Português do Brasil 2020-12-26 14:01:24 -03:00
Connor McLaughlin f181b45760 libretro: Build fix 2020-12-27 02:41:43 +10:00
Connor McLaughlin 80fb30b564 Qt: Add Boot and Debug option to context menu 2020-12-27 00:54:53 +10:00
Connor McLaughlin 29469077ee Qt: Force display to render after boot
Fixes menu showing through when starting paused.
2020-12-27 00:54:53 +10:00
Connor McLaughlin cbcbb675d6 System: Fix pause on start 2020-12-27 00:54:53 +10:00
Connor McLaughlin 3cd3d1c09d Qt: Fix opening debugger when system already paused 2020-12-27 00:54:53 +10:00
Connor McLaughlin dc46d52029 FrontendCommon: Remove unnecessary #ifndef LIBRETRO macros
These were only needed because of ancient compilers on the libretro
buildbot, it still compiles fine with these fields on the latest
compilers.
2020-12-27 00:54:53 +10:00
Connor McLaughlin 702ed21207 HostDisplay: Add threaded presentation for Vulkan renderer
Can add a significant speedup for fast forward. Automatically disabled
when vsync is enabled.
2020-12-27 00:54:53 +10:00
Connor McLaughlin 68dc052432 Bus: Don't leak shared memory when starting->stopping->starting 2020-12-27 00:50:08 +10:00
Connor McLaughlin 91995c92db Qt/Debugger: Use Bus helper functions for getting region pointers 2020-12-27 00:50:08 +10:00
Connor McLaughlin d74d27163c Common/MemoryArena: Add destroy/valid methods 2020-12-27 00:50:08 +10:00
Connor McLaughlin e71f6aa80a GPU/HW: Improve round-trip accuracy of RGBA5551->RGBA8
Fixes smudging in some games with true colour rendering enabled.
2020-12-27 00:50:08 +10:00
Connor McLaughlin 84181e2a1d CheatS: Support importing/parsing EPSXe cheat files 2020-12-27 00:45:34 +10:00
Connor McLaughlin cc9c3ea41f Cheats: Fix assertions tripping on unicode characters 2020-12-27 00:45:34 +10:00
Connor McLaughlin aa65280ec3 Qt: Fix typo in advanced settings 2020-12-27 00:45:34 +10:00
Connor McLaughlin 7532d5d09a
Merge pull request #1306 from andercard0/patch-52
Atualização Português do Brasil
2020-12-27 00:45:04 +10:00
Connor McLaughlin 9c36c9dbdb
Merge pull request #1312 from ggrtk/memorycardimage-fix
MemoryCardImage: Fix multi-block file reads
2020-12-27 00:44:41 +10:00
PugsyMAME 31423ef697
Changed debugger "Enter memory address" to accept hex only (#1317)
* Changed debugger "Enter memory address" to accept hex only

The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4

* Translation updates for Debugger memory address change

Updated the three translation files that mentioned the original "Invalid address. It should be in hex" string.

* Changed debugger "Enter memory address" to accept hex only

UPDATE TO PR #1316
The "Enter memory address" prompt by default expects a decimal address unless it's preceded by 0x. Or it expects an number starting with 0 is an octal.
The disassembly address should be hexadecimal regardless as that is how it it displays the address.
Also changed it so that it changes any breakpoint or disassembly address entered to be divisible by 4 as there was an observed issue that would cause the disassembly addresses to get locked to a address that was not divisible by 4 and a breakpoint address that is not divisible by 4 would never be hit.
2020-12-27 00:43:43 +10:00
Albert Liu 12bc7a7805 MemoryCardImage: Fix multi-block file reads 2020-12-25 20:01:21 -08:00
Anderson_Cardoso bc9da28f31
Atualização Português do Brasil 2020-12-25 15:20:29 -03:00
Connor McLaughlin a69474ea97 TextureReplacements: Use x86 dispatch for xxhash 2020-12-26 00:47:24 +10:00
Connor McLaughlin af3b2b0e15 Build: Fix xxhash on non-Windows 2020-12-26 00:47:24 +10:00
Connor McLaughlin b755798c2a Qt: Update French translation 2020-12-26 00:47:03 +10:00
Connor McLaughlin d187c8b08d GPU/HW: Fix a potential case where depth isn't cleared on viewport change 2020-12-26 00:47:03 +10:00
Connor McLaughlin a385573672 Qt: Add texture replacement options to advanced settings 2020-12-26 00:47:03 +10:00
Connor McLaughlin 41b803ed2b FrontendCommon: Add a hotkey to reload texture replacements 2020-12-26 00:47:03 +10:00
Connor McLaughlin 8db961042a GPU: Support replacing VRAM writes with new textures 2020-12-26 00:47:03 +10:00
Connor McLaughlin a66f14b5c3 Vulkan/Texture: Add UpdateFromBuffer method 2020-12-26 00:47:03 +10:00
Connor McLaughlin ebaad0f35a Common/GL: Add replace method to texture 2020-12-26 00:47:03 +10:00
Connor McLaughlin ecbfff3c60 HostDisplay: Fix incorrect extension check for other formats 2020-12-26 00:47:03 +10:00
Connor McLaughlin f6c0156eea Common/Image: Add save helpers, fix errors 2020-12-26 00:47:03 +10:00
Connor McLaughlin 6de53054c1 Qt: Move blit swap chain option to display settings 2020-12-26 00:47:02 +10:00
Michael Forney 4bca193ee1 FileSystem: Include <limits.h> for PATH_MAX 2020-12-26 00:47:02 +10:00
Michael Forney 7a40a843d4 Common/FileSystem: Fix misspelling of 'separator' 2020-12-26 00:47:02 +10:00
Michael Forney d0398c8a83 Common/FileSystem: Fix canonicalization of paths beginning with ./
If we don't skip past the following separator when the destination
is empty, then `./file` gets canonicalized as `/file`.

Also, consider the case where we end up with an empty string (for
example, from `foo/..`). Canonicalize this as `.`.
2020-12-26 00:47:02 +10:00
Michael Forney 64c0ca14a3 System: Fix some bugs in GetTitleForPath
The previous implementation had a few issues in certain edge cases:
- If the path contained no '/' or '\', then the string_view constructor
  is called with a count that exceeds the length of the string
  (effectively `title_end - (char *)0`, which is undefined behavior,
  at least in C).
- If the only '/' was the filesystem root, the last character of
  the title was truncated, and the '/' remained. For example,
  "/title.bin" resulted in "/titl".
- At least in C, it is undefined behavior to use the the < operator
  with a null pointer, which is done in std::max if the path did
  not have both '/' and '\'.

The first issue results in a std::bad_alloc exception on my machine.
2020-12-26 00:47:02 +10:00
Connor McLaughlin 3f410ebbac Cheats: Add additional code types from @PugsyMAME 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 7dcacc2cda Qt: Implement GDB server 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric abd2399aaf Core: Implement GDB protocol 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 9b40c8ffa6 Settings: Add GDB server settings 2020-12-26 00:47:02 +10:00
Jean-Baptiste Boric 9bd28f39a5 StringUtil: Add base support and hexadecimal functions 2020-12-26 00:47:02 +10:00
Connor McLaughlin fd39f09aa7 scmversion: Second part of beta -> preview 2020-12-25 13:58:50 +10:00
PugsyMAME c0cc0a371b Fixed Slide Code cheat type
Address increment is a u8 and value increment is a u16. The changes will make this work correctly:-

50000AA4 FFFF
801CC760 0400
which is a example slide code representing:-
801CC760 0400
801CC804 03FF
801CC8A8 03FE
801CC94C 03FD
801CC9F0 03FC
801CCA94 03FB
801CCB38 03FA
801CCBDC 03F9
801CCC80 03F8
801CCD24 03F7
2020-12-25 13:53:28 +10:00
Connor McLaughlin add6754381 libretro: Remove guncon/mouse/negcon controller types
These were never supported. Use the standalone version if you want to
use these controller types.
2020-12-25 13:53:28 +10:00
Connor McLaughlin 7f6fbd6b80
Merge pull request #1289 from andercard0/patch-51
Atualização Português do Brasil
2020-12-25 13:51:02 +10:00
Connor McLaughlin 8fcb3d6690
Merge pull request #1297 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-25 13:50:51 +10:00
Albert Liu f63291b8ec CMake: Fix missing translation files 2020-12-24 12:01:33 -08:00
zkdpower 3f22f55338
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-24 13:05:50 +08:00
Anderson_Cardoso 33fdbe48a5
Atualização Português do Brasil
Update Pt-Br to the latest.
2020-12-22 16:51:05 -03:00
Connor McLaughlin 095bc280cb Qt: Fix default value of PGXP depth buffer 2020-12-23 02:26:47 +10:00
Connor McLaughlin ee5ba8d90a
Merge pull request #1284 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-23 01:44:35 +10:00
Connor McLaughlin 4f9a5d0241
Merge pull request #1285 from CookiePLMonster/memcard-slashes-fix
Memory Card Editor fixes
2020-12-23 01:44:13 +10:00
zkdpower ce4e9f4f17
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-22 23:41:05 +08:00
Silent 51eb494340
Memcard Editor: Fix relative shared paths not opening in Memcard Editor by default 2020-12-22 16:39:59 +01:00
Connor McLaughlin 744cfbd924 Frontends: Add PGXP Depth Buffer options 2020-12-23 01:39:49 +10:00
Connor McLaughlin d320d5c830 GameSettings: Add game settings/hotkey for PGXP depth 2020-12-23 01:39:49 +10:00
Connor McLaughlin aa1543271e GPU: Support emulating a depth buffer from PGXP depth values 2020-12-23 01:39:49 +10:00
Connor McLaughlin 9384f3a8e9 Qt/CheatManager: Fix checking groups not updating child nodes 2020-12-23 01:34:32 +10:00
Silent bb528fb15c
Fix inconsistent forward/backward slashes in Memcard Editor
Memcard Editor looks for an exact string match, so slashes must be
consistent.
2020-12-22 16:14:22 +01:00
Anderson_Cardoso 19980426fb
Atualização Português do Brasil
Update language Pt-Br to latest.
2020-12-21 14:53:52 -03:00
Connor McLaughlin ca84925ff8 HostDisplay: Support screenshotting 16-bit display formats 2020-12-22 03:24:51 +10:00
Albert Liu 189656cbc4 CommonHostInterface: Fully clear controller section before loading profile 2020-12-22 03:24:51 +10:00
Albert Liu a5f04f2a8e CommonHostInterface: Don't save/load input profile rumble for motorless controller types 2020-12-22 03:24:51 +10:00
Connor McLaughlin 7249825c16 Qt: Support multiple updater channels 2020-12-22 03:24:51 +10:00
Connor McLaughlin 14c227a813 scmversion: Fix incorrect tagging after stable/beta split 2020-12-22 03:24:19 +10:00
Connor McLaughlin b24245dd1d GameList: Bump cache list version
Required due to aspect ratio change.
2020-12-22 02:16:11 +10:00
Connor McLaughlin d5d9cb623d GPU/Vulkan: Fix possible framebuffer destroy-while-in-use 2020-12-22 00:56:55 +10:00
Connor McLaughlin c0d8e44548
Merge pull request #1263 from andercard0/patch-48
Atualização Português do Brasil
2020-12-22 00:53:36 +10:00
Connor McLaughlin 22c15f88dd
Merge pull request #1262 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-22 00:53:19 +10:00
Connor McLaughlin 68557eb843
Merge pull request #1266 from Margen67/ar
Use proper 21:9 aspect ratio, add 32:9
2020-12-22 00:52:36 +10:00
shikulja e3c9b75c1a update ru translation 2020-12-21 15:17:05 +03:00
Margen67 b7534015e0 Use proper 21:9 aspect ratio, add 32:9 2020-12-20 19:57:15 -08:00
Anderson_Cardoso 2a1e8047fe
Atualização Português do Brasil 2020-12-19 10:29:39 -03:00
zkdpower 3b9a9a6308
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-19 17:39:38 +08:00
Connor McLaughlin 6224d0ab89 Qt: Fix crash when switching to cheat list
Regression from 076a2ca307.
2020-12-19 19:09:34 +10:00
Connor McLaughlin 44ea51306a Qt: Add open button to memory card editor 2020-12-19 17:02:02 +10:00
Connor McLaughlin 175bc66c91 Qt: Fix some mouse presses at high click rate not registering 2020-12-19 17:02:02 +10:00
Connor McLaughlin 81aad196e8 HostInterface: Add -nocontroller CLI option to disable controller interface
Can use with buggy drivers where SDL is causing crashes.
2020-12-19 17:02:01 +10:00
Connor McLaughlin e804fdfdba GPU: Use floating point coordinates for lightgun 2020-12-19 17:02:01 +10:00
Connor McLaughlin 4860313bef NamcoGuncon: Add an option to scale X coordinates
Fixes what appears to be curvature correction at the edges of the
screen.
2020-12-19 17:02:01 +10:00
Connor McLaughlin fad3d79895 NamcoGuncon: Add button to shoot offscreen 2020-12-19 17:02:01 +10:00
Connor McLaughlin faa016eaee
Merge pull request #1255 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-19 17:01:44 +10:00
Connor McLaughlin 076a2ca307 Qt/CheatManager: Default to unsigned/hex/halfword 2020-12-19 02:44:46 +10:00
Connor McLaughlin ca61f989fc DMA: Don't panic on invalid device read/write 2020-12-19 02:44:46 +10:00
Connor McLaughlin 7c7145d1c5 MDEC: Handle invalid commands
Fixes panic in Formula 1.
2020-12-19 02:44:46 +10:00
Connor McLaughlin 980aa0a8bc Qt/CheatManager: Add manual watch address 2020-12-19 02:44:46 +10:00
Connor McLaughlin a6a0b660d2 GameList: Bump cache version
This should've happened with the aspect ratio changes.
2020-12-19 02:44:46 +10:00
zkdpower 9b20f1ffd9
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-18 16:26:08 +08:00
Connor McLaughlin 9e1987063d System: Add a libcrypt game list, and check serials
Nag the user if they're missing a sbi file.
2020-12-18 03:03:22 +10:00
Connor McLaughlin 627008f34c CDImage: Add helper for checking for SBI 2020-12-18 03:03:22 +10:00
Connor McLaughlin 4232ef7bf3 CDImageCue: Try for a file based on the cue filename if bin missing
Should work around people who have renamed the files but not updated the
cuesheet.
2020-12-18 03:03:22 +10:00
Connor McLaughlin b3edcc5841 CDROM: Don't reset audio decoder state on file/channel change
Star Wars Jedi Power Battles sends constant Setfilter commands, while
playing.
2020-12-18 03:03:21 +10:00
Connor McLaughlin d2c98639a8 Cheats: Add extension 32-bit instructions variants 2020-12-18 03:03:21 +10:00
Anderson_Cardoso feb009ce39
Atualização Português do Brasil
Updated translation latest.
2020-12-17 11:38:19 -03:00
Connor McLaughlin 681fccd5e6 Qt: Fix compilation on Qt <5.11 2020-12-17 13:05:17 +10:00
Connor McLaughlin 4b4b97540e Qt: Fix Linux build (again) 2020-12-17 12:54:36 +10:00
Connor McLaughlin 6fdb7fa801 Qt: Fix Linux build 2020-12-17 12:38:32 +10:00
Connor McLaughlin c1f802c397 Qt: Fix OSD messages not rendering in Japanese translation 2020-12-17 12:15:37 +10:00
Connor McLaughlin ea996a0305 Qt: Add debugger UI 2020-12-17 12:15:37 +10:00
Connor McLaughlin 3b23542ec9 CPU: Provide debugger/breakpoint/step functionality 2020-12-17 11:57:47 +10:00
Connor McLaughlin a8af0f7ecb HostInterface: Add debugger message callbacks 2020-12-17 11:57:47 +10:00
Connor McLaughlin fa0f177e51 HostInterface: Move PauseSystem from common to base 2020-12-17 11:57:47 +10:00
Connor McLaughlin e044858953 CPU: Add additional instruction decoder helpers 2020-12-17 11:57:46 +10:00
Connor McLaughlin 9fd1d606d7 Bus: Add memory region access helpers 2020-12-17 11:57:46 +10:00
Connor McLaughlin 6b10a1089c
Merge pull request #1240 from ggrtk/qt-japanese
Qt: Add Japanese translation by mikakunin
2020-12-17 11:37:19 +10:00
Connor McLaughlin a4b6df3e7d
Merge pull request #1239 from ggrtk/analog-controller
AnalogController: Fix config mode 0x4C response
2020-12-17 11:36:58 +10:00
Connor McLaughlin 9d7b63923a
Merge pull request #1235 from valadaa48/CRTCTicksToSystemTicks_optimization
Small optimization to GPU::SystemTicksToCRTCTicks
2020-12-17 11:36:21 +10:00
Connor McLaughlin bd8613b120
Merge pull request #1227 from ggrtk/auto-aspect-ratio
GPU: Add auto aspect ratio and various fixes
2020-12-17 11:35:48 +10:00
Albert Liu 4f26150ef1 Qt: Add Japanese translation by mikakunin 2020-12-16 16:11:49 -08:00
Albert Liu b7bccac71d AnalogController: Fix config mode 0x4C response 2020-12-16 15:11:53 -08:00
Connor McLaughlin 30472b853d Qt: Compile fix 2020-12-17 01:26:07 +10:00
Connor McLaughlin 47f0720b93 Controller: Always preserve internal state when loading/resuming
Fixes analog mode getting disabled when loading state.
2020-12-17 01:20:06 +10:00
Connor McLaughlin b78a6045fc Qt: Make some async method invokes explicitly queued 2020-12-17 01:20:06 +10:00
Connor McLaughlin 7b6d30a994 GPU/HW: Fix possible VRAM corruption when live switching resolutions
Mask bit was getting lost based on guest state.
2020-12-17 01:20:06 +10:00
shikulja cc5df71af9
update ru translation (#1216)
* update ru translation

added some new lines, fixed small typos

* Update duckstation-qt_ru.ts
2020-12-17 01:04:35 +10:00
Albert Liu de8f03bd75 GPU: Add auto (game native) aspect ratio 2020-12-16 02:40:33 -08:00
valadaa48 f5f12fd76d Small optimization to GPU::SystemTicksToCRTCTicks 2020-12-15 22:31:34 -05:00
Albert Liu b4fb1e20d8 Settings: Remove unused variables 2020-12-14 19:28:59 -08:00
Albert Liu 2c76ad204a GPU: Fix operator warning 2020-12-14 19:28:59 -08:00
Albert Liu 1c8a896a55 GPU: Wrap display VRAM coordinates properly 2020-12-14 19:28:59 -08:00
Albert Liu 866cbdca4b GPU: Prevent potential overflow in CRTC visible area calculation 2020-12-14 19:28:59 -08:00
Albert Liu 78e42d9b4c GPU: Clean up CRTC variable naming 2020-12-14 19:28:59 -08:00
Albert Liu b8abf2df95 GPU: Don't apply display offsets when not cropping 2020-12-14 19:28:58 -08:00
Connor McLaughlin e85f7da874 Update game compatibility settings 2020-12-14 02:15:25 +10:00
shikulja 4e7de5a464 Update ru translation
(LF>CRLF )
2020-12-13 18:58:57 +03:00
Connor McLaughlin d0e68c7163 GPU: Mask Y coordinates of VRAM transfers to 9-bits
Fixes GPU error and crash in hardware renderers in Remote Control
Dandy.
2020-12-14 01:35:53 +10:00
Connor McLaughlin 5164840c25 CPU/CodeCache: Don't choke on indirect branches in delay slot
Fixes emulator crash/memory usage explosion in Shadow Master.
2020-12-14 01:35:53 +10:00
Connor McLaughlin c90ed85d9d
Merge pull request #1202 from andercard0/patch-44
Atualização Português do Brasil
2020-12-14 01:35:36 +10:00
Connor McLaughlin ac2d788e3d
Merge pull request #1205 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-14 01:35:16 +10:00
GravuTrad c37cb54acf
Update duckstation-qt_fr.ts (#1210)
* Update duckstation-qt_fr.ts

Update french: all typos errors and few missing translations

* Update duckstation-qt_fr.ts

* Update duckstation-qt_fr.ts
2020-12-14 01:34:53 +10:00
zkdpower 12c294c780
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-13 11:08:04 +08:00
Anderson_Cardoso bb4be085e4
Atualização Português do Brasil 2020-12-12 16:55:19 -03:00
Connor McLaughlin 5c6ee953d0 libretro: Update compatibility settings 2020-12-13 00:47:26 +10:00
Connor McLaughlin 7e5410fc44 CPU/AArch64: Use scratch register for unfitting intermediate values
Should fix crashes with icache emulation enabled.
2020-12-13 00:36:09 +10:00
Connor McLaughlin c47efc597f
Merge pull request #1194 from zkdpower/master
Update Simple-Chinese language file to latest
2020-12-13 00:17:50 +10:00
Renzo Pigliacampo 35b9143d3e
Update spanish translation (#1189) 2020-12-13 00:15:47 +10:00
Albert Liu 62609b5008 GameSettings: Fix build warning 2020-12-12 01:00:34 -08:00
Albert Liu def9a98cb9 GameSettings: Disable analog mode forcing instead of forcing digital controller 2020-12-11 19:50:43 -08:00
Albert Liu 8716c33f41 AnalogController: Clarify option for forcing analog mode 2020-12-11 19:50:43 -08:00
Connor McLaughlin 90997d4a8b GameList: Prioritize game title cover image over database title 2020-12-12 12:23:53 +10:00
Connor McLaughlin 6e7f1501b5 SDLAudioStream: Fix volume not applying 2020-12-12 11:50:48 +10:00
Connor McLaughlin eefbd8f6a6 CubebAudioStream: Use cubeb's volume control 2020-12-12 11:50:37 +10:00
Connor McLaughlin 907e0de35a FrontendCommon: Fix volume hotkeys starting at 0% when muted 2020-12-12 11:50:20 +10:00
Connor McLaughlin f4d540bcc6 Qt: Fix mute toggle having inverse effect 2020-12-12 11:49:50 +10:00
Connor McLaughlin 58b24d6ac9 Qt: Fix volume controls updating incorrect volume 2020-12-12 11:49:34 +10:00
Connor McLaughlin 420525e672 DigitalController: MSVC warning fix 2020-12-12 11:37:38 +10:00
zkdpower 49fda513ee
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2020-12-11 08:33:03 +08:00
Albert Liu 191e6b0496 DigitalController: Add option to force as Pop'n Controller 2020-12-09 23:39:11 -08:00
Connor McLaughlin e2a2972b38
Merge pull request #1180 from andercard0/patch-43
Atualização Português do Brasil
2020-12-10 01:22:05 +10:00
Connor McLaughlin 50bcdc0abb MDEC: Adjust 16bpp timing
Fixes jittery movement in Parasite Eve II opening.
2020-12-09 20:29:32 +10:00
Connor McLaughlin 59c338f461 Cheats: Support double conditional D0/D1/D2/D3/E0/E1/E2/E3/D4 2020-12-09 20:22:43 +10:00
Anderson_Cardoso 654c3f2ad6
Atualização Português do Brasil 2020-12-08 21:36:46 -03:00
Connor McLaughlin 98766a490f Log: Change success to verbose and move down in ordering 2020-12-09 01:03:32 +10:00
Connor McLaughlin 678146b907 HostInterface: Add separate volume control for fast forwarding 2020-12-09 01:03:32 +10:00
Connor McLaughlin b79d025e66
Merge pull request #1174 from ggrtk/analog-controller
AnalogController: Disallow analog-to-dpad in config mode
2020-12-09 00:22:57 +10:00
Connor McLaughlin 8e79059fe3
Merge pull request #1166 from CookiePLMonster/xinput-button-fix
XInput: Fix mapping buttons to axes
2020-12-09 00:22:14 +10:00
Connor McLaughlin 419736aaee GPU/Software: Ensure commands are always aligned to 4 bytes 2020-12-09 00:19:57 +10:00
Albert Liu 18a4ff76e2 AnalogController: Disallow analog-to-dpad in config mode 2020-12-08 02:36:19 -08:00
Silent a4124fdc1b
Another fix for XInput backend 2020-12-07 18:08:48 +01:00