From b7cdf60b068ddc668f2536b273ee8ac1680758d7 Mon Sep 17 00:00:00 2001 From: OV2 Date: Tue, 8 Nov 2016 22:38:04 +0100 Subject: [PATCH] Do not change mute state when restoring state --- snapshot.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/snapshot.cpp b/snapshot.cpp index 2fc90d8d..a4bb51e0 100644 --- a/snapshot.cpp +++ b/snapshot.cpp @@ -1636,8 +1636,6 @@ int S9xUnfreezeFromStream (STREAM stream) uint32 old_flags = CPU.Flags; uint32 sa1_old_flags = SA1.Flags; - S9xSetSoundMute(TRUE); - S9xReset(); UnfreezeStructFromCopy(&CPU, SnapCPU, COUNT(SnapCPU), local_cpu, version); @@ -1863,8 +1861,6 @@ int S9xUnfreezeFromStream (STREAM stream) for (uint32 y = 0; y < (uint32) (IMAGE_HEIGHT); y++) memset(GFX.Screen + y * GFX.RealPPL, 0, GFX.RealPPL * 2); } - - S9xSetSoundMute(FALSE); } if (local_cpu) delete [] local_cpu;