Fix STOP
This commit is contained in:
@@ -1333,7 +1333,8 @@ class PetitComputer
|
|||||||
std.stdio.stderr.writefln("%04X:%s", vm.pc, vm.getCurrent.toString(vm));
|
std.stdio.stderr.writefln("%04X:%s", vm.pc, vm.getCurrent.toString(vm));
|
||||||
version (dumpStackVM)
|
version (dumpStackVM)
|
||||||
vm.dumpStack();
|
vm.dumpStack();
|
||||||
running = vm.runStep();
|
auto b = vm.runStep();
|
||||||
|
running = b && running;
|
||||||
debug if(trace && loc.line != vm.currentLocation.line)
|
debug if(trace && loc.line != vm.currentLocation.line)
|
||||||
{
|
{
|
||||||
loc = vm.currentLocation;
|
loc = vm.currentLocation;
|
||||||
|
|||||||
Reference in New Issue
Block a user