20 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
Fiskbit e6d8245640 GBA: Add save type override for Rockman EXE 4.5. (#44) 2026-04-18 23:17:38 -07:00
Sour 6a5df2bf49 GBA: Implement CPU freeze caused by prefetcher in some scenarios
Makes prefetcher_branch_thumb_arm_2 test freeze (like on hardware)
2025-06-09 22:21:58 +09:00
Sour aec12b17ad GBA: Performance fixes
Brings performance back to closer to what it was before the latest accuracy fixes
2025-06-07 00:47:32 +09:00
Sour be6cbb4dec GBA: Improved RTC/GPIO edge cases based on test results
See: https://github.com/CasualPokePlayer/gba-rtc-test
2025-04-18 12:04:25 +09:00
Sour 36bd1611c6 Debugger: Catch up APU for all consoles when breaking, to allow register viewer/etc. to display up-to-date values 2025-04-03 22:41:27 +09:00
Sour 081c3bca7a GBA: Fixed save type detection issues
Some games contained the string "FLASH_" but it wasn't actually the "FLASH_Vxxx" marker for the 64kb flash chips
2025-01-24 21:56:52 +09:00
Sour e115308400 GBA: Fixed save memory type for Super Monkey Ball Jr.
Game uses EEPROM but contains markers for EEPROM, Flash and Save RAM, which breaks the auto-detect feature
2024-12-01 13:40:27 +09:00
Sour dbebbf66e5 GBA: Improved prefetch behavior when enabling/disabling it
Fixes the AGBEEG cartridge tests
2024-11-06 21:21:55 +09:00
Sour 7fdb6a0e85 GBA: Improved cartridge prefetch timing accuracy
Passes most of alyosha's prefetch tests
2024-11-06 19:12:33 +09:00
Sour 7110fe31c4 GBA: Added option for RTC 2024-10-10 18:34:59 +09:00
Sour 1670259ca1 GBA: Improved BIOS lock logic
Based on: https://web.archive.org/web/20240111232601/https://gist.github.com/merryhime/797c523724e2dc02ada86a1cfadea3ee
2024-08-26 21:01:36 +09:00
Sour bd12aaabe4 GBA: Only suspend prefetch after/if DMA accesses ROM
Fixes the remaining failures in mGBA Suite's "Timing Tests"
2024-08-23 21:30:53 +09:00
Sour 8ad5423be5 GBA: RTC support 2024-07-18 21:50:24 +09:00
Sour 64db1fa416 GBA: Support for tilt sensor 2024-07-13 12:16:08 +09:00
Sour 4a796fecad Tests: Fixed GBA static init issue causing tests to fail when multiple tests are running at once 2024-07-05 22:37:34 +09:00
Sour e4b3d9de89 GBA: Added save type exception to prevent crash in Iridion II 2024-03-30 16:23:45 +09:00
Sour 6468f37977 Debugger: GBA - Fixed performance issue with trace logger 2024-03-30 15:46:02 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00