From 09d9aab18a7dbf7be8b9afc9551faf94b030d1d8 Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Mon, 2 May 2011 04:14:47 +0000 Subject: [PATCH] fixes issue 4388 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7502 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp index 4f8c50c46f..333ebbcd0b 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp @@ -207,6 +207,9 @@ bool CWII_IPC_HLE_Device_FileIO::Seek(u32 _CommandAddress) } else { + // Must clear the failbits, since subsequent seeks don't care about + // past failure on Wii + m_pFileHandle.Clear(); ERROR_LOG(WII_IPC_FILEIO, "FILEIO: Seek failed - %s", m_Name.c_str()); } }