summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2016-05-29 14:56:49 +1200
committerScott Mansell <phiren@gmail.com>2016-05-29 16:48:46 +1200
commitf419faa4085a909a36622891037c16a2be0d9da7 (patch)
treea0055c5f040d0964c3e57766d9c4e9ac0705ec71 /Source/Core/InputCommon/ControllerInterface/evdev
parent6233620bde140bf8562a8ac8440acb4dbf42b3db (diff)
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)
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
0 files changed, 0 insertions, 0 deletions