From 17226d8f75ad539d5b5e683ebd1cf15524fdb244 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:12:16 -0300 Subject: [PATCH] fix: listen to my past self By deleting this line I go from test 234 to test 355 in arm.gba --- src/cpu/arm/data_processing.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cpu/arm/data_processing.zig b/src/cpu/arm/data_processing.zig index 834d041..aa40bd2 100644 --- a/src/cpu/arm/data_processing.zig +++ b/src/cpu/arm/data_processing.zig @@ -281,5 +281,4 @@ fn setTestOpFlags(comptime S: bool, cpu: *Arm7tdmi, opcode: u32, result: u32) vo fn undefinedTestBehaviour(cpu: *Arm7tdmi) void { @setCold(true); cpu.setCpsr(cpu.spsr.raw); - cpu.r[15] += 4; // FIXME: This is objectively wrong I think }