summaryrefslogtreecommitdiff
path: root/Source/Android/code-style-java.xml
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-07-26 10:48:23 +0200
committerOatmealDome <julian@oatmealdome.me>2026-08-10 22:47:44 -0400
commitd3c420c6a4a69d0964a23fa527932c4465bcfd23 (patch)
treeaeb096ac97f3fe10296e9c4be6264ebb261d6d85 /Source/Android/code-style-java.xml
parent5ea9d7f8a30c677c9e1231f3244e069e7cabc057 (diff)
IOS/FS: Fix loading savestate when files are open
We already had code to close open host files when reading or writing a savestate, but due to d35fe1b we also need to close open guest files when reading a savestate, otherwise DoStateRead fails to delete them. I was considering an alternative solution where instead of copying and clearing m_handles, we just set `handle.opened = false;` for each handle before reading a savestate (but not before writing a savestate). However, this wouldn't solve the problem of DoStateWriteOrMeasure's calls to OpenFile failing due to all handles being open. I'm not aware of any games that have that many handles open, though.
Diffstat (limited to 'Source/Android/code-style-java.xml')
0 files changed, 0 insertions, 0 deletions