Commit graph

3628 commits

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

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

Translation of the achievements menu, some osd messages, and more

* Update duckstation-qt_ru.ts
2021-02-28 15:05:47 +10:00
Connor McLaughlin 46a0fde86b
Merge pull request #1706 from andercard0/patch-85
Atualização Português do Brasil
2021-02-28 15:05:41 +10:00
zkdpower ca9c058e2d
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-28 09:49:37 +08:00
Anderson_Cardoso f565228afa
Atualização Português do Brasil
Update file to latest.
2021-02-27 21:20:23 -03:00
Albert Liu 1f876afbed Qt: Make about dialog scmversion label selectable by mouse 2021-02-27 15:07:05 -08:00
Connor McLaughlin 1c1abee61a NoGUI: Linux compile fix 2021-02-28 04:11:34 +10:00
Connor McLaughlin 97cf3f770e GPU: Fix previous frame adaptive downsample leaking in 2021-02-28 04:03:48 +10:00
Connor McLaughlin a48fa4097b CommonHostInterface: Fix key inputs getting stuck with modifiers 2021-02-28 04:03:48 +10:00
Connor McLaughlin 49345a300c Settings: Fix display stretch disabled by linear filtering 2021-02-27 21:58:47 +10:00
Connor McLaughlin faa8ed0031 CMake: Make evdev optional 2021-02-27 20:53:00 +10:00
Connor McLaughlin 47e26b1ad3 FullscreenUI: Put cover images through the texture cache 2021-02-27 16:25:42 +10:00
Connor McLaughlin 5a0e4f85dd Settings: Enable cheat loading by default 2021-02-27 16:21:36 +10:00
Connor McLaughlin e17d37b8bc HostDisplay: Add stretch option 2021-02-27 16:21:36 +10:00
Connor McLaughlin f18babb97e Settings: Remove redundant break in IsMultitapEnabledOnPort 2021-02-27 16:21:36 +10:00
Connor McLaughlin 4380992591 Fix a couple of typos in translation sources 2021-02-27 16:21:36 +10:00
Connor McLaughlin 86f44f826d
Merge pull request #1697 from ggrtk/multitap
Core: Add Multitap support
2021-02-27 16:19:28 +10:00
Connor McLaughlin c70fe0b4ae
Merge pull request #1693 from andercard0/patch-83
Atualização Português do Brasil
2021-02-27 16:18:54 +10:00
Connor McLaughlin 8d1bb6aa2c
Merge pull request #1695 from andercard0/patch-84
Atualização Português de Portugal - By: Bajol
2021-02-27 16:18:36 +10:00
Connor McLaughlin 0cb5618aa1
Merge pull request #1698 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-27 16:18:24 +10:00
zkdpower 9670564578
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-27 13:46:52 +08:00
Albert Liu f9dc1a7e80 Core: Add Multitap support 2021-02-26 21:04:12 -08:00
Anderson_Cardoso 64ea3de009
Atualização Português de Portugal - By: Bajol
Update file Portuguese Portugal By: Bajol
2021-02-26 16:22:49 -03:00
Connor McLaughlin bd9cb67565
Merge pull request #1694 from ggrtk/always-save-controller-type
Settings: Always save controller type to settings interface
2021-02-27 04:01:34 +10:00
Albert Liu b6301e1a43 Settings: Always save controller type to settings interface
Fixes Controller1 defaulting to DigitalController type on startup in
FullscreenUI when user had previously shut down the program with
Controller1 set to None.
2021-02-26 09:37:53 -08:00
Anderson_Cardoso 951c8310e9
Atualização Português do Brasil
Update file to latest.
2021-02-26 14:03:30 -03:00
Connor McLaughlin b4e4e5891d Qt: Fix controller navigation for fullscreen UI 2021-02-27 01:17:44 +10:00
Connor McLaughlin 0ec2c87a0e Implement RetroAchivements 2021-02-27 00:44:53 +10:00
Connor McLaughlin ef524d7dea FrontendCommon: Add HTTPDownloader class 2021-02-27 00:44:50 +10:00
Connor McLaughlin e43773fbc8
Merge pull request #1691 from andercard0/patch-82
Atualização Português do Brasil
2021-02-27 00:44:30 +10:00
Connor McLaughlin 800c422e2e
Merge pull request #1690 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-27 00:44:21 +10:00
Anderson_Cardoso e6a90f646b
Atualização Português do Brasil
update file to latest
2021-02-26 08:59:36 -03:00
Connor McLaughlin c98b332b04 GL: Add missing context_egl_fbdev files 2021-02-26 19:13:02 +10:00
zkdpower 8173c94d40
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-26 11:08:49 +08:00
Connor McLaughlin 52c842e3b3 Qt: Hook up mouse wheel to ImGui 2021-02-26 02:45:28 +10:00
Connor McLaughlin 9425f34ceb
Merge pull request #1687 from ggrtk/controller-type-cache
FullscreenUI: Update type cache when controller type is changed
2021-02-26 02:45:00 +10:00
shikulja 343c3068c7
Update duckstation-qt_ru.ts (#1688)
* Update duckstation-qt_ru.ts

* Update duckstation-qt_ru.ts
2021-02-26 02:44:15 +10:00
Albert Liu 07ad4f63fa FullscreenUI: Update type cache when controller type is changed 2021-02-24 20:32:32 -08:00
Connor McLaughlin 248baeec08
Merge pull request #1684 from andercard0/patch-81
Atualização Português do Brasil
2021-02-25 12:52:56 +10:00
Connor McLaughlin bd59d711eb
Merge pull request #1686 from ggrtk/fix-settinginfos
Controller: Fix invalid SettingInfos causing crash in FullscreenUI
2021-02-25 12:52:46 +10:00
Connor McLaughlin bfb575cf40 Qt: Improve handling of exclusive fullscreen loss
Exclusive fullscreen will be re-requested automatically when the window
regains focus.
2021-02-25 12:51:45 +10:00
Albert Liu 3ca3a78b58 Controller: Fix invalid SettingInfos causing crash in FullscreenUI 2021-02-24 17:23:07 -08:00
Anderson_Cardoso f8376f2724
Atualização Português do Brasil
Update file to latest
2021-02-24 17:55:42 -03:00
Connor McLaughlin defea38a60 FullscreenUI: Add fullscreen/close buttons to landing window 2021-02-25 02:20:33 +10:00
Connor McLaughlin 1969a10034 FullscreenUI: Fix placeholder logo showing up 2021-02-25 02:20:33 +10:00
Connor McLaughlin f023c1bcde FullscreenUI: Add 'Pause on Menu' option 2021-02-25 02:20:33 +10:00
Connor McLaughlin b56b438f1f FullscreenUI: Only show debug menu bar in NoGUI 2021-02-25 02:20:33 +10:00
Chris 85ad091c22
Filter out Keypad as a mod in sdl_key_names (#1678) 2021-02-25 02:19:57 +10:00
Connor McLaughlin 617554bea7
Merge pull request #1681 from Max833/master
Qt: Update German translation
2021-02-25 02:07:23 +10:00
Connor McLaughlin 06f9088888
Merge pull request #1682 from zkdpower/master
Update Simple-Chinese language file to latest
2021-02-25 02:05:52 +10:00
Chris dd3d5dbd86
Allow keyboard binding in nogui/fullscreen mode (#1679)
* Allow keyboard binding in nogui/fullscreen mode
2021-02-25 02:05:33 +10:00
zkdpower 961a691de7
Update Simple-Chinese language file to latest
Update Simple-Chinese language file to latest
2021-02-24 08:12:00 +08:00
Max833 a94dd57b9f
Update duckstation-qt_de.ts 2021-02-23 22:42:47 +01:00
Connor McLaughlin 0d0a7eac1f ImGuiFullscreen: Add animations for notifications 2021-02-24 01:22:04 +10:00
Connor McLaughlin eb4d6efecd Common: Add easing.h 2021-02-24 01:22:04 +10:00
Connor McLaughlin 6e80c882df FullscreenUI: Allow vertical scaling 2021-02-24 01:22:04 +10:00
Connor McLaughlin a7e4d55d02 Move game settings apply to CommonHostInterface 2021-02-24 01:22:04 +10:00
Connor McLaughlin 28fdc5537f FullscreenUI: Draw quick menu at screen bounds, not scaled bounds 2021-02-24 01:22:04 +10:00
Connor McLaughlin 8318cdb3c1 Move ImGui setup to common, and enable fullscreen UI in Qt 2021-02-24 01:22:03 +10:00
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