mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
NoGUI: Fix autosave on shutdown
This commit is contained in:
parent
3a831c543d
commit
6038389d35
|
@ -69,6 +69,7 @@ static int Run(std::unique_ptr<NoGUIHostInterface> host_interface, std::unique_p
|
|||
|
||||
if (boot_params)
|
||||
host_interface->BootSystem(*boot_params);
|
||||
boot_params.reset(); // Need to free resume file handle so auto save on exit works
|
||||
|
||||
int result;
|
||||
if (System::IsValid() || !host_interface->InBatchMode())
|
||||
|
|
Loading…
Reference in a new issue