chore(instr): implement copy and clone on instruction enum
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Rekai Nyangadzayi Musuka 2021-08-05 20:04:39 -05:00
parent 0107fa04c9
commit 0637b771e3
1 changed files with 1 additions and 0 deletions

View File

@ -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,