VolumeDirectory: Use correct endianness when writing apploader -1

This commit is contained in:
JosJuice 2017-06-09 17:57:05 +02:00
parent eb50533201
commit 240cb0ca11

View File

@ -333,7 +333,7 @@ bool VolumeDirectory::SetApploader(const std::string& apploader)
{
m_apploader.resize(0x20);
// Make sure BS2 HLE doesn't try to run the apploader
*(u32*)&m_apploader[0x10] = (u32)-1;
Write32(static_cast<u32>(-1), 0x10, &m_apploader);
return false;
}
}