From 1eec10b6148c2a6f55f932319bf80af36bc67c93 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 9 Nov 2014 12:53:31 +0100 Subject: [PATCH] Properly prevent loading ISO to RAM in 32-bit mode (could have been enabled in 64-bit mode where the UI exists) --- Core/PSPLoaders.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index ac0b5b205b..5a14cd7173 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -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;