Commit graph

1648 commits

Author SHA1 Message Date
Connor McLaughlin 8c7282046b CPU/CodeCache: Re-enable interpreter fallback heuristic 2021-05-20 12:19:25 +10:00
Connor McLaughlin acda42be16 CPU/Recompiler: Get rid of non-constant offsetofs 2021-05-20 12:19:24 +10:00
Connor McLaughlin 1ed1d641a6 CPU/Recompiler: Don't use intepreter icache when falling back
Fixes broken rendering in TOCA 2.

It has self-modifying code every frame, which gets falled back to the
interpreter, and using the interpreter's icache, which resulted in
stale code executing.
2021-05-20 12:19:23 +10:00
Connor McLaughlin 6eb0496d77 AnalogController: Don't panic on unknown configuration mode command 2021-05-20 12:19:23 +10:00
Connor McLaughlin 1e7e52718e NamcoGuncon: Only update trigger for offscreen on change 2021-05-20 12:19:21 +10:00
Connor McLaughlin d38a1c9430 AnalogJoystick: Make setter methods public 2021-05-10 13:35:58 +10:00
Connor McLaughlin 729675f497 Bus: Fix memory reserving when 8MB RAM is enabled 2021-05-08 20:36:34 +10:00
Connor McLaughlin 8ace5ff6b8 CPU/Recompiler: Fix assertion tripping in debug builds 2021-05-05 03:26:40 +10:00
Connor McLaughlin e382df0d41 Support expanding RAM to 8MB (dev console) 2021-05-03 12:43:33 +10:00
Connor McLaughlin 806fc3e918 Settings: Fix default value for VSync on Android 2021-05-01 14:49:45 +10:00
Connor McLaughlin f39a5dcf5d Settings: Fix new display aspect ratios being untranslatable 2021-05-01 13:32:37 +10:00
Connor McLaughlin 052721fffc HostInterface: Fix toggling widescreen hack while running 2021-05-01 02:56:29 +10:00
Connor McLaughlin 17a4712a3e Settings: Remove less-frequently used AR options
You can easily set this via custom ratios, or match window now.
2021-04-30 02:53:03 +10:00
Connor McLaughlin 256f272768 Support custom and match display aspect ratios 2021-04-30 02:53:03 +10:00
Connor McLaughlin f1310bf93a System: Don't discard PGXP state when runahead-rollbacking
You'll still see some glitches if you have the frame count set too high,
since you'll get imprecise values for any vertices which have moved, but
that's going to happen anyway because of the runahead in the first
place.
2021-04-28 02:51:44 +10:00
Connor McLaughlin c2916e0719 System: Render save state screenshots at fixed resolution
Fixes delays when saving state at high internal resolution.
2021-04-28 02:51:44 +10:00
Connor McLaughlin f34a048009 CPU/CodeCache: Fall back constantly-modified blocks to interpreter
Partial fix for slowdown in Colin McRae Rally 2.0.
2021-04-27 02:56:57 +10:00
Connor McLaughlin b84827b315 Pad: Don't remove card when loading state without card in slot
... unless load-devices-from-state is enabled.
2021-04-27 02:24:28 +10:00
Connor McLaughlin e842abfa8a CPU/Recompiler: Fix corrupted constant address byte/halfword writes
Fixes broken rendering in Dino Crisis.
2021-04-27 02:11:33 +10:00
Connor McLaughlin 40731b49fc Bus: Handle CPU-internal narrow writes
The full 32-bits of the GPR are used.

Fixes SoundScope in the BIOS Shell.
2021-04-26 22:08:18 +10:00
Connor McLaughlin 7fb5d6908f AnalogController: Use device state instead of save state for mode 2021-04-26 21:25:43 +10:00
Connor McLaughlin 46d19eeb1f Android: Allow opening/getting files relative to downloads directory 2021-04-24 16:19:13 +10:00
Connor McLaughlin cfb4b058d1 CPU/Recompiler: Gate debug exceptions behind memory exception flag
Libcrypt games seem to leave exceptions enabled, and it forces
interpreter for them when it's unnecessary.
2021-04-22 15:43:35 +10:00
Connor McLaughlin fe1a582909 System: Disallow booting when SBI files are missing 2021-04-22 13:40:48 +10:00
Connor McLaughlin 0a50ca3f18 CDROM: Improve CDDA report logging 2021-04-22 13:40:48 +10:00
Connor McLaughlin 2d8806c13f CPU/Recompiler: Emit DCIC exit path in far code
Fixes PS3 BIOS booting.
2021-04-22 02:58:13 +10:00
Connor McLaughlin e64f8cc2c5 CDROM: Jump to seek target on pause while seeking
Fixes music in No Fear Downhill Mountain Biking, but needs more hardware
tests to confirm the behavior here.
2021-04-21 01:44:33 +10:00
Lioncash 113b4b71de core/types: Convert GPUDownsampleMode into an enum class
Prevents some generic-sounding identifiers from being put into the
global namespace.
2021-04-19 11:16:40 -04:00
Connor McLaughlin 5af6424324 CDROM: More conservative handling of INT1-while-pending-INT3 case 2021-04-19 15:39:44 +10:00
Connor McLaughlin 3106c797d9 CPU: Reduce severity of some log statements 2021-04-19 15:19:08 +10:00
Connor McLaughlin 62360d088a CDROM: Send IRQ1 for triple buffered sectors
Fixes hangs in loading in Eliminator and Colony Wars - Vengeance.
2021-04-19 15:19:08 +10:00
Connor McLaughlin e4d5d9f049 GPU/SW: Spin for 1ms rather than immediately sleeping 2021-04-17 22:17:02 +10:00
Connor McLaughlin 03f3f0369c GameList: Reduce number of system calls when scanning 2021-04-17 21:52:26 +10:00
Connor McLaughlin e1578be20f Common/FileSystem: Add BuildRelativePath() function 2021-04-17 21:52:26 +10:00
Connor McLaughlin 1b16662f17 System: Remove unused ParseM3UFile function 2021-04-17 21:52:26 +10:00
Connor McLaughlin 2985c395df GameList: Fix uninitialized fields of PSF/EXE 2021-04-17 21:52:26 +10:00
Connor McLaughlin ff14e8aede Add JSON game database to replace dat parsing 2021-04-17 17:04:23 +10:00
Connor McLaughlin 6868ad4326 Bus: Don't reserve entire fastmem region on Android 2021-04-17 16:33:25 +10:00
Connor McLaughlin 88618bde1c GPU: Correct value of ODE bit in vblank
Fixes line streaks in Dead or Alive.
2021-04-15 01:32:08 +10:00
Connor McLaughlin 442b801d39 CPU: Implement cop0 execution and data breakpoints 2021-04-14 19:06:52 +10:00
Connor McLaughlin 22fdd80cc3 CPU/Interpreter: Out of range cop0 reads should be nops 2021-04-14 19:06:52 +10:00
Connor McLaughlin dd5277321b CPU/CachedInterpreter: Fix infinite loop when block compile fails 2021-04-14 19:06:52 +10:00
Connor McLaughlin 58f5c99100 Bus: Fix incorrect EPC for IBE exceptions 2021-04-14 19:01:43 +10:00
Connor McLaughlin 13b398ac46 GPU: Treat 0xFF commands as nops
Fixes slowdown in Soviet Strike and 40 Winks.
2021-04-13 13:18:51 +10:00
Connor McLaughlin e087e6f3a2 CPU/Recompiler: Prevent using fastmem when cache is isolated
No point even trying since it's just going to fault.
2021-04-12 02:08:56 +10:00
Connor McLaughlin 922d320523 CPU/Recompiler: Reserve whole fastmem region to avoid clashes 2021-04-11 12:42:51 +10:00
Connor McLaughlin 8df0496dc1 CDROM: Store last subq even when auto-pausing
Fixes track looping in Fighting Force PAL.
2021-04-11 12:36:52 +10:00
Connor McLaughlin 6a0bd7ee64 CDROM: Clear setloc pending on redundant read
Fixes palette corruption in Joshikousei no Houkago... Pukunpa.
2021-04-10 14:52:15 +10:00
Connor McLaughlin 327e8f3f59 GPU/OpenGL: Switch back to framebuffer blits over shader copy
Ends up being slower on Mali.
2021-04-10 14:52:15 +10:00
Connor McLaughlin 0644faa635 System: Disable memory cards when running PSFs 2021-04-08 11:34:15 +10:00