11 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 cb0da64c5b PCE/SMS/WS: Fixed behavior/crashes when loading ROMs that aren't a power-of-2 size 2025-04-24 21:26:15 +09:00
Sour 6820db3793 Fixed compilation errors in clang (in VS) 2024-12-25 18:58:57 +09:00
Sour ea917e77c2 SMS: Fixed crackling in audio in PAL mode 2024-11-05 18:19:54 +09:00
Sour a72b8bff6e SMS: Fixed region detection showing the region based on the previously loaded game's filename when loading a new game 2024-11-05 18:18:33 +09:00
Sour 0838797295 Game Gear: Allow showing entire video output instead of the cropped version the GG screen displays 2024-09-25 21:50:01 +09:00
Sour d6d0b87c22 Added ColecoVision support
Also adds mode 1 (text mode) and mode 3 (multicolor mode) support for the SMS/SG-1000
2024-07-27 14:52:31 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour 5a17c88148 SMS: Added region selection for GG 2023-12-16 19:01:13 +09:00
Sour 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00