Commit Graph
100 Commits
Author SHA1 Message Date
Stenzek dd7dfe348f HostDisplay: Clamp scissor rect for cursor
Scissor with x/y < 0 is invalid.

To you know who you are, stop copying these changes and putting your
name on it, or respect the copyright declared in the files. You're
violating both copyright as well as the license by not attributing.
2023-02-07 20:08:49 +10:00
Stenzek befbc7bc2e HostDisplay: Fix cursor texture leak 2023-02-07 20:06:29 +10:00
Stenzek 9e9b0e223f Update SDL Game Controller DB
https://github.com/gabomdq/SDL_GameControllerDB
2023-02-05 15:27:26 +10:00
Stenzek d941df983e Qt: Ensure svg image format plugin gets included
For some reason, it doesn't on the CI universal builds..
2023-02-05 15:22:40 +10:00
Stenzek a365fdd252 Qt: Don't strip Mac bundles 2023-02-05 15:19:47 +10:00
Stenzek f8d5379f8e Qt: Default to native/dynamic theme on Mac 2023-02-05 15:12:43 +10:00
Stenzek 27a0495c0e Qt: Fix crash when right clicking with no game selected 2023-02-05 15:12:43 +10:00
Stenzek bd1df7b25b Settings: Default to Vulkan/Metal renderer on Mac 2023-02-05 15:12:43 +10:00
Stenzek e005b283b3 Build: Update Mac dependencies
Fix game controller crash on startup with SDL.
2023-02-05 13:43:19 +10:00
Stenzek 0ef24398f8 Qt: Ensure system is shut down before closing
Fixes crash on shutdown on Mac.
2023-02-05 13:43:15 +10:00
Stenzek 1371dcfa4a Vulkan/Texture: Fix incorrect upload image layout 2023-02-05 13:12:45 +10:00
Stenzek 2dd374d2a7 Vulkan/Context: Fix query pool leak 2023-02-05 13:12:45 +10:00
Stenzek d84a02a2c3 CMake: Build tweaks 2023-02-05 13:12:45 +10:00
Stenzek 178a659a98 GPU: Move graphics API reset state to System
Stops us trying to reset state on objects which don't exist if
initialization failed (apparently some Android devices.. of course).
2023-02-05 13:12:45 +10:00
Stenzek c8e7922c1a AnalogController: Fix incorrect locked message format 2023-02-05 13:12:45 +10:00
Connor McLaughlin c66ae535ca Merge pull request #2947 from andercard0/master
Atualização Português do Brasil
2023-02-05 13:12:21 +10:00
Stenzek 29bc13a124 GameDatabase: Disable true colour for Mega Man 8 2023-01-30 19:26:48 +10:00
Stenzek d954e6e9bf GameDatabase: Set ForceSoftwareRendererForReadbacks for Chrono Trigger 2023-01-30 19:26:48 +10:00
Stenzek e8f4bd5c5e GameDatabase: Fix ForceSoftwareRendererForReadbacks 2023-01-30 19:26:48 +10:00
Stenzek a3c7449749 FileSystem: Fix POSIXLock positioning 2023-01-30 19:26:48 +10:00
Stenzek 39d1e899eb CommonHost: Notify RAIntegration when we pause 2023-01-30 19:17:11 +10:00
Stenzek 58a5985f1a Achievements: Fix crash loading state with RAIntegration 2023-01-30 19:17:11 +10:00
Stenzek e88214966f Settings: Default to digital controller on Android 2023-01-30 19:17:11 +10:00
Stenzek 9859850925 Achievements: Make sound effects not contingent on notifications 2023-01-30 19:17:11 +10:00
Stenzek 14cf865905 Misc: Correctness fixes for OpenGL
GLES2 fallback should be functional again.
2023-01-30 19:17:11 +10:00
Connor McLaughlin a30bc94437 Merge pull request #2943 from Superstarxalien/master
Improve Integer Scaling and Native Resolution Screenshot behavior
2023-01-30 19:16:42 +10:00
Connor McLaughlin 0f4835e154 Merge pull request #2945 from CookiePLMonster/new-en-translation
Update English plural texts
2023-01-30 18:06:56 +10:00
Connor McLaughlin 22d4d71e0c Merge pull request #2944 from CookiePLMonster/new-pl-translation
Updated Polish translation
2023-01-30 18:06:46 +10:00
Connor McLaughlin 9c6c3892e2 Merge pull request #2942 from NicknineTheEagle/nn/cdrom
CD-ROM fixes
2023-01-20 13:11:40 +10:00
Connor McLaughlin 53fffb1de2 Merge pull request #2941 from bslenul/adv-settings-reset
"Set Dumped VRAM Write Alpha Channel" should be true when resetting advanced settings
2023-01-17 18:49:35 +10:00
Stenzek 55f716e69e Settings: Fix default value of depth clear threshold 2023-01-17 18:47:54 +10:00
Stenzek e50390553d Regtest: Use analog controller 2023-01-17 18:41:15 +10:00
Stenzek 95306d3362 CDROM: Slightly adjust seek timing when on target
Fixes Resident Evil 3 booting.
2023-01-17 18:38:19 +10:00
Connor McLaughlin 591e8b5b7a Merge pull request #2940 from andercard0/master
Atualização Português do Brasil
2023-01-16 12:47:27 +10:00
Stenzek e0ed76745e Qt: Fix cancel in LED colour selection 2023-01-16 12:46:55 +10:00
Stenzek c393db419e Qt: Add Controller LED options (where supported) 2023-01-15 16:40:35 +10:00
Connor McLaughlin 722771fff6 Qt: Fix Linux build 2023-01-15 15:26:24 +10:00
Connor McLaughlin ae529a6195 Qt: Add actions to debugger context menu 2023-01-15 15:13:54 +10:00
Connor McLaughlin fe08d34e52 Qt: Add COP0/GTE registers to debugger list 2023-01-15 15:13:54 +10:00
Connor McLaughlin 395e9a934b InputManager: Support inverted full axis
i.e. pedals
2023-01-15 15:13:54 +10:00
Connor McLaughlin 01270bac35 StringUtil: Add ToChars/fast_float FromChars 2023-01-15 15:13:54 +10:00
Connor McLaughlin 81383afc50 dep: Add fast_float 2023-01-15 15:13:54 +10:00
Connor McLaughlin 591ac15612 Merge pull request #2939 from andercard0/master
Atualização Português do Brasil
2023-01-15 01:37:26 +10:00
Connor McLaughlin b5f806a830 CI: Work around Azure Ubuntu mirror issue 2023-01-13 22:10:49 +10:00
Connor McLaughlin 5b600602c2 Settings: Make disable-all-enhancements use new MDEC routines 2023-01-13 21:03:35 +10:00
Connor McLaughlin 1aa3be70c7 SPU: Bypass FIFO for direct memory writes
Aconcagua writes a single halfword with transfers halted, but never enables
DMA.. so when it eventually does later on, there's an extra halfword
written out to memory, which corrupted part of a sound effect.
2023-01-13 21:03:10 +10:00
Connor McLaughlin 2c2304b5b7 System: Fix inverted ifdef 2023-01-12 18:12:58 +10:00
Connor McLaughlin 157a2b7183 Merge pull request #2938 from andercard0/master
Atualização Português do Brasil
2023-01-12 18:07:54 +10:00
Connor McLaughlin 3b038fd27d System: Further improve frame timing consistency 2023-01-12 18:02:12 +10:00
Connor McLaughlin 559f14d27d ImGuiOverlays: Fix incorrect frame time order 2023-01-12 17:41:30 +10:00
Connor McLaughlin af5d49649c MDEC: Add option to use old conversion routines
That way texture packs for games which use MDEC for decoding
backgrounds will still be compatible.
2023-01-12 17:01:04 +10:00
Connor McLaughlin 3e0be0a577 MDEC: Tweak block timing further
Improves frame rate during animated backgrounds in Final Fantasy VII.
2023-01-12 16:48:34 +10:00
Connor McLaughlin a56ce290d4 Qt: Work around theme switching issue in 6.4.0 2023-01-11 20:23:21 +10:00
Connor McLaughlin 7c6071dfe1 Qt: Add option to reset played time 2023-01-11 20:21:27 +10:00
Connor McLaughlin 50a616421f System: Add -exe parameter for overriding boot executable
Lets you re-use a disc image, but boot a different file.
2023-01-11 19:49:11 +10:00
Connor McLaughlin daf1080397 Qt: Fix -portable CLI parameter 2023-01-11 19:31:29 +10:00
Connor McLaughlin ba7517fccc Timers: Fix debug window rendering in hidpi 2023-01-11 19:15:59 +10:00
Connor McLaughlin 3e16746e85 Pad: Convert to namespace 2023-01-11 19:15:59 +10:00
Connor McLaughlin 835834f8f4 SIO: Convert to namespace 2023-01-11 19:15:59 +10:00
Connor McLaughlin 0683b9fa0e InterruptController: Convert to namespace 2023-01-11 19:15:59 +10:00
Connor McLaughlin db364d0e95 Timers: Convert to namespace 2023-01-11 19:15:59 +10:00
Connor McLaughlin 3acf569d67 DMA: Convert to namespace 2023-01-11 19:15:59 +10:00
Connor McLaughlin d096a09ed8 ImGuiManager: Fix debug window interaction with frame limit off 2023-01-11 19:15:59 +10:00
Connor McLaughlin 8d3250667f Scripts: Show first 3 diff frames in regression test 2023-01-11 19:15:59 +10:00
Connor McLaughlin 90fe071dda CDROM: Adjust Init timing 2023-01-11 19:15:59 +10:00
Connor McLaughlin 05eea3cd2b CPU/CodeCache: Always compute uncached fetch ticks
Running code out of uncached ROM is slowwww.
2023-01-11 19:15:59 +10:00
Connor McLaughlin 6a7407565a Merge pull request #2936 from andercard0/master
Atualização Português do Brasil
2023-01-09 22:20:53 +10:00
Connor McLaughlin b74eb37996 ImGuiOverlays: Display PAL/NTSC in resolution 2023-01-09 22:20:27 +10:00
Connor McLaughlin 2c125bde8c CDROM: Fix size of debug window 2023-01-09 22:20:27 +10:00
Connor McLaughlin 9de849aa66 CDROM: Delay async interrupts immediately after ACKs
Fixes music playback stopping in Ogre Battle.

Closes #2596.
Closes #575.
2023-01-09 22:20:27 +10:00
Connor McLaughlin dd73811628 CDROM: Convert to namespace 2023-01-09 22:20:27 +10:00
Connor McLaughlin 1552ff82a7 CMake: Fix Linux build 2023-01-07 17:40:50 +10:00
Connor McLaughlin 19b4f4e921 System: Add frame time graph 2023-01-07 13:10:43 +10:00
Connor McLaughlin fa2fd8f84f Build: Reference GSL 2023-01-07 13:10:43 +10:00
Connor McLaughlin 9c41126298 dep: Add GSL 4.0.0 2023-01-07 13:10:43 +10:00
Connor McLaughlin e87f64faed Merge pull request #2934 from Guwange/update_Japanese_translation
Update Japanese translation
2023-01-07 13:07:37 +10:00
Connor McLaughlin 06d6447e59 Qt: Add -raintegration command line parameter 2022-12-31 16:14:23 +10:00
Connor McLaughlin f08f124eaa Qt: Move RAIntegration menu to Tools
That way it's not hidden by default.
2022-12-31 16:14:23 +10:00
Connor McLaughlin f9bf997c34 Achievements: Fix crash on game change when using RAIntegration 2022-12-31 16:12:03 +10:00
Connor McLaughlin af73d8ac24 D3D12HostDisplay: Fix software cursor rendering 2022-12-27 22:17:58 +10:00
Connor McLaughlin 1bb321c41f MDEC: Don't round when texture replacements are enabled
This changes texture hashes, and people got annoyed :/
2022-12-27 22:17:58 +10:00
Connor McLaughlin 928dd0e665 MDEC: Fix Linux compiling 2022-12-21 17:30:22 +10:00
Connor McLaughlin 5fa5957156 Qt: Fix per-game custom aspect ratio 2022-12-21 13:35:12 +10:00
Connor McLaughlin b530b08bc4 Qt: Fix exiting game in big picture returning to list 2022-12-20 21:45:01 +10:00
Connor McLaughlin fb9608a9cf FullscreenUI: Fix folder changes not applying immediately 2022-12-20 21:37:28 +10:00
Connor McLaughlin c2e15b0078 System: Fix toggling Show GPU Usage at runtime 2022-12-20 21:32:51 +10:00
Connor McLaughlin fd050334c0 FullscreenUI: Warning fixes 2022-12-20 21:26:19 +10:00
Connor McLaughlin 4eb6b90825 AudioStream: Fix building without SSE on Linux 2022-12-20 21:25:15 +10:00
Connor McLaughlin d65cbe42ae GPU: Truncate instead of rounding 24bpp->16bpp
Thanks to axetion for writing a test to confirm this is what the console
GPU indeed does.
2022-12-20 21:19:58 +10:00
Connor McLaughlin 1c8ef86f12 MDEC: Convert to namespace 2022-12-20 21:18:30 +10:00
Connor McLaughlin 81823562fa Qt: Fix a possible crash on shutdown
If the game list is being refreshed due to play time update.
2022-12-20 20:45:23 +10:00
Connor McLaughlin 52817d967b Qt: Fix -fullscreen command line parameter 2022-12-19 23:30:27 +10:00
Connor McLaughlin 11ecf2bb46 Merge pull request #2931 from andercard0/master
Atualização Português do Brasil
2022-12-19 17:17:30 +10:00
Connor McLaughlin e73098873b Merge pull request #2932 from zkdpower/master
update Simple-Chinese translaton to latest.
2022-12-19 17:17:21 +10:00
Connor McLaughlin f85464805a Merge pull request #2933 from bslenul/shutdown-hk-state
Prevent shutdown hotkey from bypassing the state on shutdown setting
2022-12-19 17:17:10 +10:00
Connor McLaughlin 3f5552d6ac Merge pull request #2930 from IlDucci/es_ES_update_20221211
Spanish (Spain) proofread and fixes
2022-12-14 17:59:06 +10:00
Connor McLaughlin 3082fd55d7 Qt: Add output audio device selection 2022-12-14 17:58:14 +10:00
Connor McLaughlin 8ab46d0713 MDEC: Redo IDCT and conversion
RE2 backgrounds look better now (mainly due to the 24bpp->16bpp
conversion). Also implements signed output (untested).
2022-12-14 17:28:34 +10:00
Connor McLaughlin 1905ce3e01 CDROM: Don't prevent GetlocL after Init
Console apparently just returns whatever was in memory, even though it
seeked to the start. Fixes Meremanoid booting.
2022-12-08 19:56:00 +10:00
Connor McLaughlin dfdbc9a8ce OpenGLHostDisplay: Update sync interval on MakeCurrent() 2022-12-08 13:21:21 +10:00