mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-26 05:52:59 +01:00
d
d
This commit is contained in:
1 parent
3d06f94e48
commit
57787bfc7f
59 files changed
+9967
-410
No files matched your search
@@ -607,6 +607,7 @@ u64 BOB64_MS_ABI bob64_syscall_dispatch(BOB64_INTERRUPT_FRAME *frame) {
|
||||
if(frame->RAX==BOB64_SYSCALL_SEEK_HANDLE) {
|
||||
BOB64_SYSCALL_HANDLE *handle=find_handle(frame->RCX);
|
||||
if(!handle)frame->RAX=(u64)-9;
|
||||
else if(frame->RDX>0x7fffffffffffffffULL)frame->RAX=(u64)-22;
|
||||
else {handle->Position=frame->RDX;frame->RAX=handle->Position;}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user