[Project64] Remove Protect Memory duplicate code

This commit is contained in:
zilmar 2016-01-18 22:02:50 +11:00
parent 9b2a398181
commit 9bdea7da40
1 changed files with 0 additions and 2 deletions

View File

@ -127,8 +127,6 @@ bool CN64Rom::AllocateAndLoadN64Image(const char * FileLoc, bool LoadBootCodeOnl
ByteSwapRom();
//Protect the memory so that it can not be written to.
DWORD OldProtect;
VirtualProtect(m_ROMImage, m_RomFileSize, PAGE_READONLY, &OldProtect);
ProtectMemory(m_ROMImage, m_RomFileSize, MEM_READONLY);
return true;
}