Remove a few more Win32 memory functions. (PR #888)

CopyMemory, MoveMemory, FillMemory.
This commit is contained in:
Andrea
2020-12-12 11:09:14 +00:00
committed by GitHub
parent 50a0e81941
commit 30d3269fbf
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ static BYTE __stdcall HD_IO_EMUL(WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG
}
}
MoveMemory(pHDD->hd_buf, mem+pHDD->hd_memblock, HD_BLOCK_SIZE);
memmove(pHDD->hd_buf, mem+pHDD->hd_memblock, HD_BLOCK_SIZE);
if (bRes)
bRes = ImageWriteBlock(pHDD->imagehandle, pHDD->hd_diskblock, pHDD->hd_buf);