summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2026-07-26 10:48:23 +0200
committerJosJuice <josjuice@gmail.com>2026-07-26 11:01:01 +0200
commit8a90cbf63843c13584fc8ce9ddd1c5c62726d818 (patch)
tree60da2dc61d7f565c8e99a09b6dfbbb1a76a05ae4 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.cpp
parent707d3c7a732634ad8d522bd27e52b075f54ac4f3 (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/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/ScaleAction.cpp')
0 files changed, 0 insertions, 0 deletions