aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs
index 530296e..980cbad 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -314,6 +314,7 @@ pub struct GBState<S: Serial, A: Audio> {
pub cpu: CPU,
pub mem: Memory<S, A>,
pub is_debug: bool,
+ pub is_stopped: bool,
pub div_cycles: u64,
pub tima_cycles: u64,
@@ -327,6 +328,7 @@ impl<S: Serial, A: Audio> GBState<S, A> {
cpu: CPU::new(),
mem,
is_debug: false,
+ is_stopped: false,
div_cycles: 0,
tima_cycles: 0,