12 Commits
Author SHA1 Message Date
SourMesen 37de357b75 NES: FDS - Performance improvements (#143)
-ProcessCpuClock was used to check for events that don't need to be checked that often (auto-switch disk + auto fast-forward options). This has been moved to an EndFrame callback.
-This was even slower than intended because of the call to _emu->GetFrameCount() which was, relatively speaking, fairly slow. To improve its performance (since it's used rarely for some things like turbo button processing), a separate GetFrameCount function was added on all console classes, and Emulator::GetFrameCount was also optimized to be faster when called from the emulation thread.

When the auto-switch disk option is enabled, this can improve performance by about 25-30%. When the option is not enabled, this still improves performance by 4-5%.
2026-05-27 04:02:54 -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 88210b3fcf SNES/PCE/SMS: Added missing "allow invalid input" option (and prevent invalid inputs by default) 2024-12-20 14:48:15 +09:00
Sour 4d92cc6d72 PCE: Fixed 6-button controller emulation
SF2 was detecting a single 6-button controller with no turbo tap as two 6-button controllers with a turbo tap
2024-07-03 20:02:36 +09:00
Sour 16e0f716c7 PCE: Added missing controller data to save states 2024-07-02 21:26:55 +09:00
Sour c7f97aba60 PCE: Fixed issue with turbo tap implementation
SF2 did not work properly when two 6-button controllers were connected
2024-07-02 21:06:20 +09:00
Sour b984985f88 PCE: Allow 6-button controllers to be connected to the turbo tap 2023-12-25 16:31:00 +09:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour c6e527cded Debugger: Lua - getScreenBuffer/setScreenBuffer, getInput/setInput implementations + other fixes/refactoring 2022-07-30 15:39:07 -04:00
Sour 9a04b4b957 PCE: Option to disable run+select reset combo 2022-05-07 13:17:19 -04:00
Sour 66c8e281dd Config UI, 6-button controller, turbo tap 2022-04-30 14:02:48 -04:00
Sour 191304e025 wip - everything to review 2022-04-06 18:37:35 -04:00