mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-17 03:15:39 +00:00
HostInterface: Don't save screenshot when switching renderers
This commit is contained in:
parent
cebf8957e6
commit
a0fa3a3994
|
@ -1166,7 +1166,7 @@ void HostInterface::RecreateSystem()
|
|||
Assert(!System::IsShutdown());
|
||||
|
||||
std::unique_ptr<ByteStream> stream = ByteStream_CreateGrowableMemoryStream(nullptr, 8 * 1024);
|
||||
if (!System::SaveState(stream.get()) || !stream->SeekAbsolute(0))
|
||||
if (!System::SaveState(stream.get(), 0) || !stream->SeekAbsolute(0))
|
||||
{
|
||||
ReportError("Failed to save state before system recreation. Shutting down.");
|
||||
DestroySystem();
|
||||
|
|
Loading…
Reference in a new issue