2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2026-03-09 12:53:24 +00:00

fix(nvme_readwrite): add missing return

This commit is contained in:
2024-08-04 11:57:01 -04:00
parent 2f7fd1e65f
commit 66de6fd7d6

View File

@@ -496,7 +496,10 @@ proc nvme_readwrite stdcall, ns:dword, buf:dword, start_sector:qword, numsectors
@@:
mov ebx, [numsectors_ptr]
mov dword [ebx], 0
add esp, 20
pop edi esi ebx
or eax, -1 ; generic disk error
ret
endp