Do not change mute state when restoring state

This commit is contained in:
OV2 2016-11-08 22:38:04 +01:00
parent bc2a3bce75
commit b7cdf60b06
1 changed files with 0 additions and 4 deletions

View File

@ -1636,8 +1636,6 @@ int S9xUnfreezeFromStream (STREAM stream)
uint32 old_flags = CPU.Flags; uint32 old_flags = CPU.Flags;
uint32 sa1_old_flags = SA1.Flags; uint32 sa1_old_flags = SA1.Flags;
S9xSetSoundMute(TRUE);
S9xReset(); S9xReset();
UnfreezeStructFromCopy(&CPU, SnapCPU, COUNT(SnapCPU), local_cpu, version); 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++) for (uint32 y = 0; y < (uint32) (IMAGE_HEIGHT); y++)
memset(GFX.Screen + y * GFX.RealPPL, 0, GFX.RealPPL * 2); memset(GFX.Screen + y * GFX.RealPPL, 0, GFX.RealPPL * 2);
} }
S9xSetSoundMute(FALSE);
} }
if (local_cpu) delete [] local_cpu; if (local_cpu) delete [] local_cpu;