fix savestate saving

This commit is contained in:
zeromus 2009-07-21 23:18:22 +00:00
parent 123743fa57
commit a086c21ba7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }