mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
[NTVDM]
Fix the INT 12h handler to call the correct function (DosOpenFile not DosCreateFile). svn path=/branches/ntvdm/; revision=59754
This commit is contained in:
parent
5ffc6554be
commit
e1c4d780c1
|
@ -1665,7 +1665,7 @@ VOID DosInt21h(LPWORD Stack)
|
|||
case 0x3D:
|
||||
{
|
||||
WORD FileHandle;
|
||||
WORD ErrorCode = DosCreateFile(&FileHandle,
|
||||
WORD ErrorCode = DosOpenFile(&FileHandle,
|
||||
(LPCSTR)(ULONG_PTR)BaseAddress
|
||||
+ TO_LINEAR(DataSegment, LOWORD(Edx)),
|
||||
LOBYTE(Eax));
|
||||
|
|
Loading…
Reference in a new issue