summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/CommandProcessor.cpp
diff options
context:
space:
mode:
authorblubberdiblub <blubberdiblub@gmail.com>2010-12-21 18:03:44 +0000
committerblubberdiblub <blubberdiblub@gmail.com>2010-12-21 18:03:44 +0000
commit38e80fe094ffea7d51b74960207750d5ae62eba8 (patch)
treecc32ddfd87efaf079cb30524a8b0565a7d24df99 /Source/Core/VideoCommon/Src/CommandProcessor.cpp
parent6cb78515c64101824d35ee7478d8d30e8dcc6879 (diff)
Fixes some file handling in IPC_HLE
* change File::GetSize to fetch the size directly from the open file instead of stat'ing it when challed with a FILE* * use changed File::GetSize(FILE *f) instead of calling with file name in two places * remove "seek_pos % file_size" hack for ZTP, so one can seek to the end of file again. Please check Zelda: Twilight Princess for regressions * return error codes when reading or writing from/to a file A lot of those changes are from j4ck.fr0st, so kudos to him. I did not change the file open mode for ISFS_OPEN_WRITE to "wb". While that would probably be more correct, it says in the comment that it might affect Mario Kart Wii. I would prefer somebody with that game try that change locally first. Please check your games for regressions (or even improvement). Some games that may be affected are Zelda - Twilight Princess and Metroid Prime 3. Fixes issue 1749 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6634 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions