[Project64] change memcpy_s to memcpy

This commit is contained in:
zilmar 2019-01-31 18:41:24 +10:30
parent eef2ed27aa
commit eaab627f64
1 changed files with 3 additions and 3 deletions

View File

@ -322,9 +322,9 @@ bool CN64Disk::AllocateAndLoadDiskImage(const char * FileLoc)
ProtectMemory(m_DiskImage, m_DiskFileSize, MEM_READWRITE);
AllocateDiskHeader();
memcpy_s(m_DiskHeader, 0x20, m_DiskImage, 0x20);
memcpy_s(m_DiskHeader + 0x20, 0x20, m_DiskImage + 0x43670, 0x20);
memcpy_s(m_DiskHeader + 0x3B, 5, m_DiskImage + 0x43670, 5);
memcpy(m_DiskHeader, m_DiskImage, 0x20);
memcpy(m_DiskHeader + 0x20, m_DiskImage + 0x43670, 0x20);
memcpy(m_DiskHeader + 0x3B, m_DiskImage + 0x43670, 5);
return true;
}