small fixes, make default a noop

This commit is contained in:
zongor 2025-08-31 12:59:29 -07:00
parent ab5bc87908
commit 252c9614c0
1 changed files with 2 additions and 3 deletions

View File

@ -269,16 +269,15 @@ bool step_vm(VM *vm) {
vm->stack[++vm->sp].i = 0; /* error or no ioctl support */
}
}
break;
return true;
}
case SYSCALL_EXIT: {
return false;
break;
}
default: {
regs[0].i = -1;
/* NOOP */
return true;
}
}