From 518e93522ea212299e289264129e8d531b1cf7bb Mon Sep 17 00:00:00 2001 From: IniKiwi Date: Wed, 6 Jul 2022 09:23:01 +0200 Subject: [PATCH] enfait non... --- src/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscall.c b/src/syscall.c index 3266914..45652e0 100644 --- a/src/syscall.c +++ b/src/syscall.c @@ -3,5 +3,5 @@ int syscall_handle(cpu_status_t* status, uint32_t origin){ printf("\e[32mpc: %8x syscall %8x\e[39m\n", origin, status->r[0]); - status->pc = status->pr+4; + status->pc = status->pr; } \ No newline at end of file