about summary refs log tree commit diff stats
path: root/subx/010---vm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/010---vm.cc')
-rw-r--r--subx/010---vm.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/010---vm.cc b/subx/010---vm.cc
index 3def0ff9..9fbecbc0 100644
--- a/subx/010---vm.cc
+++ b/subx/010---vm.cc
@@ -240,6 +240,7 @@ inline uint32_t* mem_addr_u32(uint32_t addr) {
     }
   }
   if (result == NULL) {
+    if (Trace_file) Trace_file.flush();
     raise << "Tried to access uninitialized memory at address 0x" << HEXWORD << addr << '\n' << end();
     raise << "The entire 4-byte word should be initialized and lie in a single segment.\n" << end();
   }