mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Fix saving states freezing up emulation
Only for about half a second but noticeable nonetheless
This commit is contained in:
parent
c70da390a7
commit
04764f8b7f
4 changed files with 8 additions and 6 deletions
|
@ -323,7 +323,7 @@ static void CompressAndDumpState(CompressAndDumpState_args save_args)
|
|||
|
||||
if (!File::Rename(filename, File::GetUserPath(D_STATESAVES_IDX) + "lastState.sav"))
|
||||
Core::DisplayMessage("Failed to move previous state to state undo backup", 1000);
|
||||
else
|
||||
else if (File::Exists(filename + ".dtm"))
|
||||
File::Rename(filename + ".dtm", File::GetUserPath(D_STATESAVES_IDX) + "lastState.sav.dtm");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue