diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-14 21:03:14 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-14 21:03:14 (GMT) |
| commit | 486b34ebe581cf41b67145911a64ce2ea7b8932a (patch) | |
| tree | 6752bc0bb7245bbd5009061b504f03b02790b58b /src/virtualmachine/Syscalls.cpp | |
| parent | 685be24ffa1eba28aa378b8a9b4fd52dbe238756 (diff) | |
| download | powder-486b34ebe581cf41b67145911a64ce2ea7b8932a.zip powder-486b34ebe581cf41b67145911a64ce2ea7b8932a.tar.gz | |
Fixes invalid text pasting, Adds API to VM, allow program loading in Lua and assigning to update function
Diffstat (limited to 'src/virtualmachine/Syscalls.cpp')
| -rw-r--r-- | src/virtualmachine/Syscalls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/virtualmachine/Syscalls.cpp b/src/virtualmachine/Syscalls.cpp index b9f9211..642e763 100644 --- a/src/virtualmachine/Syscalls.cpp +++ b/src/virtualmachine/Syscalls.cpp @@ -61,9 +61,9 @@ namespace vm TRAPDEF(partCreate) { - //Push<int4_t>(sim->create_part(ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4)); - printf("create_part(%d, %d, %d, %d)\n", ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4); + printf("%d, %d, %d, %d\n", ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4); Push<int4_t>(0); + //Push<int4_t>(sim->create_part(ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4)); } TRAPDEF(partChangeType) |
