Commit Graph

3154 Commits

Author SHA1 Message Date
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