summaryrefslogtreecommitdiffstats
path: root/src/emu/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/syscall.c')
-rw-r--r--src/emu/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/syscall.c b/src/emu/syscall.c
index 92cab22..c573a94 100644
--- a/src/emu/syscall.c
+++ b/src/emu/syscall.c
@@ -7,7 +7,7 @@
#include "mem.h"
#include "syscall.h"
-#define arg(n) load(GPR[SP] + 4*n)
+#define arg(n) load(GPR[StP] + 4*n)
void do_syscall(void)
{