summaryrefslogtreecommitdiff
path: root/decoders/z80
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/z80')
-rw-r--r--decoders/z80/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/z80/pd.py b/decoders/z80/pd.py
index 76e1858..b7ff9a5 100644
--- a/decoders/z80/pd.py
+++ b/decoders/z80/pd.py
@@ -111,6 +111,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.prev_cycle = Cycle.NONE
self.op_state = self.state_IDLE