Properly prevent loading ISO to RAM in 32-bit mode (could have been enabled in 64-bit mode where the UI exists)

This commit is contained in:
Henrik Rydgard 2014-11-09 12:53:31 +01:00
parent db853d8513
commit 1eec10b614

View File

@ -72,10 +72,12 @@ void InitMemoryForGameISO(std::string fileToStart) {
if (!bd)
return;
#ifdef _M_X64
if (g_Config.bCacheFullIsoInRam) {
// The constructor destroys the original block device object after reading it.
bd = new RAMBlockDevice(bd);
}
#endif
umd2 = new ISOFileSystem(&pspFileSystem, bd);
actualIso = true;