17 Commits
Author SHA1 Message Date
SourMesen 7f418e352a Clang: Fixed all compilation warnings (#241)
-Some warnings were suppressed (undefined-inline and return-type-c-linkage)
-Warnings as errors was enabled to make CI builds fail when warnings are introduced
-Slightly altered the behavior of SnesCpu::IdleOrRead, but this should match what ares does
2026-08-01 13:40:07 +09:00
SourMesen 9219fab3ed Debugger: Profiler - Keep track of cycles executed while the CPU is halted (#243)
Also adds a "cpu usage" meter in the debugger window which appears when software makes uses of halt/wai/etc.
2026-08-01 12:10:12 +09: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 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 59f106b8cc SNES: Fixed NMI/IRQ timing issues
Passes all NMI/IRQ tests: demo_irqtest, demo_nmitest, irq, nmi, test_irq, test_irq4200, test_irq4209, test_irqb, test_nmi,
Also fixes timing issues with WAI
2024-12-24 17:43:09 +09:00
Sour ef64e86904 SNES: Emulation mode fixes
-Perform dummy writes when needed in emulation mode
-Prevent REP/RTI from clearing the M/X flags in emulation mode
2023-03-26 10:49:23 -04:00
Sour 346b43ea13 SNES: Fixed CPU bugs based on TomHarte's test suite
-Fixed order of operations in JSL, etc.
-Fixed order of writes in 16-bit RMW operations
-Fixed wrapping behavior for some instructions (direct addressing, jumps, stack relative indirect addressing, etc.)
2023-03-26 10:15:27 -04:00
Sour 203f111256 SNES: Fixed CPU bug where calling WAI just before NMI occurs could cause the CPU to stay in suspended for an entire extra frame (and then run the IRQ handler twice in a row) 2023-02-22 19:16:45 -05:00
Sour 00133c4643 SNES: Minor performance improvement 2022-09-25 15:56:16 -04:00
Sour 05551df14a Debugger: Fixed lock up when trying to pause a GB rom that was halted forever 2022-09-20 22:11:27 -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 63cbe9bd73 Debugger: Instruction progression (+ step 1 cpu cycle for snes/sa1/pce) 2022-07-08 00:09:01 -04:00
Sour a79a13eca2 Cheats: Added UI and implemented cheats in core 2022-03-30 12:28:53 -04:00
Sour c6c3bca360 Debugger: Exp. evaluator refactoring 2022-02-21 19:21:48 -05:00
Sour d5a28f1403 Debugger: (WIP) Evaluate breakpoints before an instruction starts executing (ProcessInstruction + calculate upcoming reads/writes) 2022-02-19 09:55:33 -05:00
Sour 0b228f5951 Refactoring: Added Snes prefix to files/classes 2022-01-22 11:55:17 -05:00