Rename the poorly named {Read,Write}BigEData to Copy{From,To}Emu -

and change argument order to match memcpy.

Oh, and fix a lulzy buffer overflow in IOS emulation while I'm at it.
This commit is contained in:
comex 2014-10-17 20:50:15 -04:00
parent 536b8d6695
commit f8dfb2ec90
9 changed files with 35 additions and 36 deletions

View file

@ -90,7 +90,7 @@ static bool InstallCodeHandler()
}
// Install code handler
Memory::WriteBigEData((const u8*)data.data(), INSTALLER_BASE_ADDRESS, data.length());
Memory::CopyToEmu(INSTALLER_BASE_ADDRESS, data.data(), data.length());
// Patch the code handler to the system starting up
for (unsigned int h = 0; h < data.length(); h += 4)