mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Oops, a quick bug.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4679 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2b7d1d294b
commit
0e5dc5b2ce
@ -246,8 +246,9 @@ CWII_IPC_HLE_Device_FileIO::IOCtl(u32 _CommandAddress)
|
||||
case ISFS_IOCTL_GETFILESTATS:
|
||||
{
|
||||
u64 Position = ftell(m_pFileHandle);
|
||||
m_FileLength = fseek(m_pFileHandle, SEEK_END, 0);
|
||||
fseek(m_pFileHandle, Position, 0);
|
||||
fseek(m_pFileHandle, 0, SEEK_END);
|
||||
m_FileLength = ftell(m_pFileHandle);
|
||||
fseek(m_pFileHandle, Position, SEEK_SET);
|
||||
|
||||
u32 BufferOut = Memory::Read_U32(_CommandAddress + 0x18);
|
||||
INFO_LOG(WII_IPC_FILEIO, "FileIO: ISFS_IOCTL_GETFILESTATS");
|
||||
|
Loading…
x
Reference in New Issue
Block a user