diff --git a/src/instruction.rs b/src/instruction.rs index 11affcf..1acdec7 100644 --- a/src/instruction.rs +++ b/src/instruction.rs @@ -12,6 +12,7 @@ use crate::bus::BusIo; use crate::cpu::{Cpu, Flags, HaltState, ImeState, Register as CpuRegister, RegisterPair}; #[allow(clippy::upper_case_acronyms)] +#[derive(Clone, Copy)] pub(crate) enum Instruction { NOP, STOP,