summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2011-05-02 04:14:47 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2011-05-02 04:14:47 +0000
commit09d9aab18a7dbf7be8b9afc9551faf94b030d1d8 (patch)
tree369abaa5bc5d8534dfc0f9532c40268ebb0b4d6f /Source/Core
parentb56417113d54d8bb799fcfcc7d493ad6270cd774 (diff)
fixes issue 4388
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7502 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp3
1 files changed, 3 insertions, 0 deletions
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());
}
}