mirror of
https://github.com/SourMesen/Mesen.git
synced 2024-06-02 19:38:32 -04:00
History Viewer: Prevent history viewer from altering audio volume for main window on load
SetMasterVolume was being called before HistoryViewerRun, which caused its effects to be applied to the main console
This commit is contained in:
parent
5a3b56c3d4
commit
66e3291039
|
@ -32,8 +32,6 @@ namespace Mesen.GUI.Forms
|
|||
_isNsf = InteropEmu.IsNsf();
|
||||
tlpRenderer.Visible = !_isNsf;
|
||||
picNsfIcon.Visible = _isNsf;
|
||||
|
||||
trkVolume.Value = ConfigManager.Config.HistoryViewerInfo.Volume;
|
||||
}
|
||||
|
||||
protected override void OnClosed(EventArgs e)
|
||||
|
@ -56,7 +54,7 @@ namespace Mesen.GUI.Forms
|
|||
StartEmuThread();
|
||||
InteropEmu.Resume(InteropEmu.ConsoleId.HistoryViewer);
|
||||
tmrUpdatePosition.Start();
|
||||
|
||||
trkVolume.Value = ConfigManager.Config.HistoryViewerInfo.Volume;
|
||||
btnPausePlay.Focus();
|
||||
|
||||
UpdateScale();
|
||||
|
|
Loading…
Reference in a new issue