fix savestate saving
This commit is contained in:
parent
123743fa57
commit
a086c21ba7
|
@ -749,7 +749,7 @@ static bool savestate_save(std::ostream* outstream, int compressionLevel)
|
||||||
if(compressionLevel != Z_NO_COMPRESSION)
|
if(compressionLevel != Z_NO_COMPRESSION)
|
||||||
{
|
{
|
||||||
//generate the savestate in memory first
|
//generate the savestate in memory first
|
||||||
std::ostream* os = (std::ostream*)&ms;
|
os = (std::ostream*)&ms;
|
||||||
writechunks(os);
|
writechunks(os);
|
||||||
ms.flush();
|
ms.flush();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue