about summary refs log tree commit diff stats
path: root/subx/010core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/010core.cc')
-rw-r--r--subx/010core.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/010core.cc b/subx/010core.cc
index 61ae583e..b59f745e 100644
--- a/subx/010core.cc
+++ b/subx/010core.cc
@@ -61,6 +61,7 @@ SF = ZF = OF = false;
 vector<uint8_t> Mem;
 uint32_t End_of_program = 0;
 :(before "End Reset")
+Mem.clear();
 Mem.resize(1024);
 End_of_program = 0;