From 7bfb87a8598ef43a5c43ff9bd55483c644abc95a Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Sat, 5 Feb 2022 21:34:47 -0400 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 }