From c442363cd447e07dff2a593e628d1100cc6f9161 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sat, 11 Feb 2023 08:57:48 +1100 Subject: [PATCH] VERY stupid mistake --- src/processor/opcodes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/opcodes.rs b/src/processor/opcodes.rs index 1d423a1..e8d3ff2 100644 --- a/src/processor/opcodes.rs +++ b/src/processor/opcodes.rs @@ -1155,7 +1155,7 @@ impl CPU { 3 } 0xF1 => { - self.reg.af = self.pop_word() & 0xF0; + self.reg.af = self.pop_word(); 3 } 0xF2 => {