dolphin/Source
Scott Mansell f419faa408 IPC_HLE: Close file handles before savestating. Fixes DKCR crashing.
Donkey Kong Country Returns is writing new data to some files in /tmp
when loading each level. But the savestate code was opening the files
a second time and reading some old and stale data out.

As of #3798, dolphin now correctly restores that stale data to /tmp,
which broke DKCR (and probally countless other games).

This PR closes all file handles before saving and loading savestates,
which flushes the data out and pervents this issue. (old savestates
are corrupted and will still cause crashes if loaded)
2016-05-29 16:48:46 +12:00
..
Android Merge pull request #3794 from EmptyChaos/frame-advance-race 2016-05-22 15:19:16 -04:00
Core IPC_HLE: Close file handles before savestating. Fixes DKCR crashing. 2016-05-29 16:48:46 +12:00
DSPSpy DSPSpy: support dumping to SD Gecko in slot B on GameCube 2015-07-19 17:26:30 +03:00
DSPTool [windows] Update projects to vs2015. 2015-09-03 04:23:01 -07:00
PCH pch: Update Visual Studio version check 2016-03-30 20:31:59 -04:00
UnitTests MathUtilTest: Fix tests on MSVC - Document compiler bug 2016-04-03 19:16:47 -04:00
VSProps exchange XSaveWorkaround (which was fixed in VS2015) for ucrtFreadWorkaround (which was broken in VS2015). 2015-10-16 20:26:34 -07:00
.clang-format UseTab: ForIndentation 2014-05-26 21:28:59 -07:00
CMakeLists.txt Strip the Android shared library file. 2016-01-20 10:40:42 -06:00
dolphin-emu.sln DolphinQt Builds on Visual Studio 2016-02-18 16:42:05 +11:00