From a8e932830e679c8d7f67caabf09a2c7d55c2e716 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 7 Jul 2013 14:19:40 +0200 Subject: [PATCH] Revert part of 3ac9aa9cfbbebc2057872d28c5e89610bf0d7a26 , it crashes GTA: LCS. @tpunix, might want to investigate. --- Core/FileSystems/ISOFileSystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/FileSystems/ISOFileSystem.cpp b/Core/FileSystems/ISOFileSystem.cpp index 2fa7784e59..f758908b39 100644 --- a/Core/FileSystems/ISOFileSystem.cpp +++ b/Core/FileSystems/ISOFileSystem.cpp @@ -370,8 +370,8 @@ u32 ISOFileSystem::OpenFile(std::string filename, FileAccess access) entry.openSize = readSize; // when open as "umd1:/sce_lbn0x0_size0x6B49D200", that mean open umd1 as a block device. // the param in sceIoLseek and sceIoRead is lba mode. we must mark it. - if(sectorStart==0 && readSize>=blockDevice->GetNumBlocks()*2048) - entry.file = &entireISO; + // if(sectorStart==0 && readSize>=blockDevice->GetNumBlocks()*2048) + // entry.file = &entireISO; entries[newHandle] = entry; return newHandle;