This commit is contained in:
otya128 committed 2017-07-23 19:13:43 +09:00
1 parent c235687096
commit 3eae20517a
3 files changed
+17 -1

No files matched your search

+2 -1
View File
@@ -1330,7 +1330,8 @@ class PetitComputer
for(int i = 0; !quit && maincntRender == oldmaincnt && !waitFlag && running; i++)
{
version (traceVM)
std.stdio.stderr.writefln("%04X:%s", vm.pc, vm.getCurrent.toString(vm));
if (vm.pc < vm.currentSlot.code.length)
std.stdio.stderr.writefln("%04X:%s", vm.pc, vm.getCurrent.toString(vm));
version (dumpStackVM)
vm.dumpStack();
auto b = vm.runStep();