39 Commits
Author SHA1 Message Date
SourMesen 5e6669c78c SNES: SPC - Fixed missing stop state in state data, and fixed looping audio when the SPC hits a stop/sleep instruction (#225) 2026-07-18 21:49:07 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Sour e0dd12bcdb SNES: SPC - Tweak previous timing fix for Kishin Douji
The previous fix on its own fixed Kishin, but broke Kawasaki Superbike
2024-12-26 11:10:37 +09:00
Sour 30d28c83a5 SNES: Performance improvements
This makes performance equal or slightly better to what it was before all of the recent accuracy improvements
2024-12-24 22:56:57 +09:00
Sour c0d61b46f4 SNES: Delay the SPC's access to the new values written by the CPU
This allows Kishin Douji Zenki to boot without locking up on a black screen
2024-12-24 15:04:40 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour 932c62fd34 SNES: Improved SPC file compatibility
Try to figure out which of the 100C0-100FF or 101C0-101FF sections contains the actual RAM
2023-05-12 17:44:59 -04:00
Sour a2d5593b9e SNES: Added option to configure SPC clock speed 2023-04-21 21:20:59 -04:00
Sour bb0bf735f7 Debugger: SNES - Add DSP registers to memory viewer 2023-03-14 20:03:12 -04:00
Sour 91b7ebbd60 SNES: Randomize DSP register values on power on, but reset the internal state to 0 2023-03-14 19:46:47 -04:00
Sour 7a4a9b5e45 SNES: Fixed freeze after reset in some games
Affects Ranma Chounai Gekitou Hen (and possibly others)
2023-03-12 19:33:28 -04:00
Sour 6c94016e82 Debugger: Allow pausing the SPC core after STOP/SLEEP call 2023-01-29 23:04:14 -05:00
Sour 7ca3ae781e Debugger: SPC - Invalidate instruction cache on writes even when option to ignore read/writes is turned on 2023-01-29 18:59:46 -05:00
Sour ef1023ed1f SNES: SPC - Fixed issues with STOP/SLEEP instructions
-Fixed execution not stopping right after stop/sleep until the spc finished catching up to the main cpu
-Force dummy spc to running state when used to get effective addreses, etc.
2023-01-29 18:59:46 -05:00
Sour 3de8e0d305 Debugger: SNES - Process DSP read/writes + added option to ignore DSP reads/writes 2023-01-25 15:47:29 -05:00
Sour e6b4d23f70 Rename TODOs that need to be fixed/checked before release to TODOv2 2023-01-05 14:07:08 +09:00
Sour 0f09de022a Debugger: Prevent crash when stopping Lua script that uses emu.GetState on SNES 2022-10-01 16:16:14 -04:00
Sour 1df7d9aeac Debugger: Added freeze address option in memory viewer 2022-09-25 19:56:02 -04:00
Sour 9a38d6cff4 SNES: Fixed SPC not being in the exact same alignment after loading a save state
Save state from power on would save the cycle count as 4, but the code in UpdateClockRatio would set it to 17, causing movies to potentially desync because the SPC and CPU aren't running with the same "alignment" they had when the movie was recorded
2022-09-11 22:09:54 -04:00
Sour e2acda828f SNES: Reset SPC flags on reset (if P is set at reset, IPL ROM breaks) 2022-09-10 12:49:40 -04:00
Sour 7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour 2f516caa91 SNES: New DSP core + new channel volume options 2022-09-07 01:35:32 -04:00
Sour 6163158637 Debugger: Lua - Implemented getState + setState 2022-07-31 15:00:53 -04:00
Sour 623892d6c3 Fixed ram init logic to ensure the correct config option is used when loading a game 2022-07-25 22:04:44 -04:00
Sour b456170551 Save states: Serializer rework/rewrite 2022-07-20 00:40:32 -04:00
Sour a7f96274e0 Debugger: Update SPC debugger to break between instructions, allow predictive breakpoints, etc. 2022-02-19 13:08:31 -05:00
Sour dffbd4921a Refactoring: Renamed SnesMemoryType 2022-01-22 12:16:10 -05:00
Sour 0b228f5951 Refactoring: Added Snes prefix to files/classes 2022-01-22 11:55:17 -05:00
Sour 0d78c064f3 Core: Reduce shared_ptr usage, refactor netplay code to remove static instances 2022-01-21 21:25:33 -05:00
Sour 078546329f Trace logger (missing file logging) 2021-06-16 23:14:21 -04:00
Sour 12bf5c5e1b NES/GB/SNES config, audio filters 2021-04-11 18:50:31 -04:00
Sour 7932393f8b Move DSP files 2021-04-10 11:15:49 -04:00
Sour e27e511558 File reorganization 2021-04-09 21:45:04 -04:00
Sour 27aec67ff7 CPU state rework 2021-04-07 23:29:12 -04:00
Sour fa05b4ec7a Tile viewer works for NES 2021-04-05 20:59:36 -04:00
Sour 70c9a39f3d Step 3 - compiles 2021-04-04 10:53:17 -04:00
Sour 86eb84cce0 Step 2 - fix includes, etc. 2021-04-03 23:16:13 -04:00
Sour 6cee666602 Step 1 - Move files 2021-04-03 21:09:05 -04:00