Commit graph

3427 commits

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