aboutsummaryrefslogtreecommitdiff
path: root/simon/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/debug.cpp')
-rw-r--r--simon/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp
index d1eb7c1e62..339e13cca0 100644
--- a/simon/debug.cpp
+++ b/simon/debug.cpp
@@ -183,7 +183,7 @@ void SimonEngine::dump_video_script(byte *src, bool one_opcode_only) {
opcode = *src++;
}
- if (opcode >= gss->NUM_VIDEO_OP_CODES) {
+ if (opcode >= NUM_VIDEO_OP_CODES) {
error("Invalid opcode %x\n", opcode);
return;
}