diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-15 11:26:52 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-15 11:26:52 (GMT) |
| commit | b8a5b8ecb3b720078f449b1325da1ba46ce61e9b (patch) | |
| tree | e66a0bbdf06afbc304d7b72cf839afe70b7d1be7 /src/virtualmachine/Syscalls.cpp | |
| parent | 3b2f4d59fc44ad4d15e002123aa1e05a080b51a8 (diff) | |
| download | powder-b8a5b8ecb3b720078f449b1325da1ba46ce61e9b.zip powder-b8a5b8ecb3b720078f449b1325da1ba46ce61e9b.tar.gz | |
Fix file reading, fix ARG implementation
Diffstat (limited to 'src/virtualmachine/Syscalls.cpp')
| -rw-r--r-- | src/virtualmachine/Syscalls.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/virtualmachine/Syscalls.cpp b/src/virtualmachine/Syscalls.cpp index 642e763..bc88fb2 100644 --- a/src/virtualmachine/Syscalls.cpp +++ b/src/virtualmachine/Syscalls.cpp @@ -61,9 +61,7 @@ namespace vm TRAPDEF(partCreate) { - 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)); + Push<int4_t>(sim->create_part(ARG(0).int4, ARG(1).int4, ARG(2).int4, ARG(3).int4)); } TRAPDEF(partChangeType) |
