From 9c95ade3a3991b3efad1716a5ee3661fa4c700de Mon Sep 17 00:00:00 2001 From: Andrew Keeton Date: Thu, 20 Nov 2014 18:45:52 -0500 Subject: [PATCH] Fix inclusive_or_test(). --- src/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine.rs b/src/machine.rs index 130bbae..ca21462 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -1247,7 +1247,7 @@ fn inclusive_or_test() { for a_before in range(0u8, 255u8) { for val in range(0u8, 255u8) { machine.execute_instruction( - (instruction::LDA, instruction::UseImmediate(a_before)) + (Instruction::LDA, OpInput::UseImmediate(a_before)) ); machine.inclusive_or(val);