specify the variant in unit test now the API has changed

This commit is contained in:
Sam M W 2023-10-30 20:03:03 +00:00
parent 4c58753283
commit 73e4896120
1 changed files with 1 additions and 1 deletions

View File

@ -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)));