diff --git a/src/device/device.rs b/src/device/device.rs index f695ed3..1c5c274 100644 --- a/src/device/device.rs +++ b/src/device/device.rs @@ -14,7 +14,8 @@ pub struct Device { pub memory: Box<[u8; Self::DEVICE_MEMORY_SIZE]>, pub timer: Timer, pub stack: Vec, - pub frame_buffer: Arc>> + pub frame_buffer: Arc>>, + pub super_chip8_mode: bool } impl Device { @@ -31,6 +32,7 @@ impl Device { frame_buffer: fb, stack: Vec::with_capacity(16), timer, + super_chip8_mode: false } } }