From 73e4896120d2fd16fe1dc629c504eb0b25cfb0f0 Mon Sep 17 00:00:00 2001 From: Sam M W Date: Mon, 30 Oct 2023 20:03:03 +0000 Subject: [PATCH] specify the variant in unit test now the API has changed --- src/cpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.rs b/src/cpu.rs index ec1ef84..dea2f5f 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -1248,7 +1248,7 @@ mod tests { #[test] fn php_sets_bits_4_and_5() { - let mut cpu = CPU::new(Ram::new()); + let mut cpu = CPU::new(Ram::new(), Nmos6502); cpu.execute_instruction((Instruction::PHP, OpInput::UseImplied)); cpu.execute_instruction((Instruction::PLA, OpInput::UseImplied)); cpu.execute_instruction((Instruction::AND, OpInput::UseImmediate(0x30)));