diff --git a/src/emulator/main.rs b/src/emulator/main.rs index b324297..624adaf 100644 --- a/src/emulator/main.rs +++ b/src/emulator/main.rs @@ -30,8 +30,9 @@ pub struct ConditionCodes { p: bool, /// Carry (C), set if the last addition operation resulted in a carry or if the last subtraction operation required a borrow. c: bool, - /// Auxiliary carry (AC or H), used for binary-coded decimal arithmetic (BCD). - ac: bool, + // Auxiliary carry (AC or H), used for binary-coded decimal arithmetic (BCD). + // Can't test this so I won't implement it + // ac: bool, } #[derive(PartialEq)] @@ -91,7 +92,7 @@ fn main() { h: 0, l: 0, sp: 0, - cc: ConditionCodes { z: true, s: true, p: true, c: true, ac: true }, + cc: ConditionCodes { z: true, s: true, p: true, c: true }, pc: 0, memory: [0; 8000], };