gameboy-rust/crates
0xrsydn 75fb98bc55 fix(cpu): restore saved status for test and compare Rd=15 forms
Restore CPSR from SPSR for ARM TST/TEQ/CMP/CMN with unused Rd=15 when the current mode has an SPSR. Preserve sequential PC and nominal timing; use normal ALU flags in User/System. Keep ordinary result-writing PC return validation unchanged.

Reproduced independent jsmolka/gba-tests ARM failure 234 before this fix. Original regressions cover flags, masks, bank restoration, operand forms, conditions, timing, and atomic errors. The public ROM progresses to a separate unsupported load/writeback alias at test 360; no full public-suite pass is claimed.
2026-10-05 20:01:08 +07:00
..
desktop feat(testing): add bounded headless ROM suites and JSON reports 2026-10-05 19:41:40 +07:00
gba-core fix(cpu): restore saved status for test and compare Rd=15 forms 2026-10-05 20:01:08 +07:00
gba-demos feat(desktop): run ROM files in a window with keypad input 2026-10-05 19:22:13 +07:00