From 32a401639ecf6366e414dc15ed381dc721c9f462 Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sun, 12 Feb 2017 17:25:03 -0500 Subject: [PATCH] Fixed Debug Point and expanded Memory to 2MB --- Knight.py | 2 +- vm.c | 2 +- wrapper.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Knight.py b/Knight.py index 5bb7178..4e66ac8 100755 --- a/Knight.py +++ b/Knight.py @@ -70,7 +70,7 @@ class StringGenerator(object): UI.Step_lilith() while UI.Current_IP not in UI.Watchpoints: UI.Step_lilith() - if UI.Count >= UI.Debug_Point: + if UI.Count == UI.Debug_Point: break return UI.returnPage() diff --git a/vm.c b/vm.c index dac59c4..8de7cc8 100644 --- a/vm.c +++ b/vm.c @@ -44,7 +44,7 @@ int main(int argc, char **argv) /* Perform all the essential stages in order */ struct lilith* vm; - vm = create_vm(1 << 20); + vm = create_vm(1 << 21); load_program(vm, argv); execute_vm(vm); destroy_vm(vm); diff --git a/wrapper.c b/wrapper.c index 6513ff3..e26777b 100644 --- a/wrapper.c +++ b/wrapper.c @@ -37,7 +37,7 @@ void execute_vm(struct lilith* vm) void initialize_lilith() { struct lilith* vm; - vm = create_vm(1 << 20); + vm = create_vm(1 << 21); Globalvm = vm; }