dolphin/Source
blubberdiblub 38e80fe094 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
2010-12-21 18:03:44 +00:00
..
Core Fixes some file handling in IPC_HLE 2010-12-21 18:03:44 +00:00
DSPSpy Second attempt at issue 3458. Fixes issue 3458. 2010-12-04 03:50:55 +00:00
DSPTool Build but don't install the dsptool/tester/MemcardManager tools 2010-07-22 03:38:32 +00:00
PluginSpecs - I've implemented cache of interrupt states for PEFINISH and PETOKEN 2010-12-13 07:56:54 +00:00
Plugins Fix shadowing like in DX9.. 2010-12-20 17:20:31 +00:00
TestSuite Add Turntable.cpp to SCons build. 2010-10-03 08:20:24 +00:00
UnitTests StringUtil cleanup. Nothing seems broken. 2010-11-10 04:12:31 +00:00
CMakeLists.txt Add an experimental CMake build system as a possible replacement for SCons. Only tested on Linux, should work on OS X and Windows in the future as well though. 2010-11-01 15:47:02 +00:00
Dolphin.sln Fix VideoCommon build configuration for DebugFast/x64. 2010-12-05 14:31:00 +00:00