mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-01 19:35:43 -04: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…
x
Reference in New Issue
Block a user