From 05fd64a5e68d515642ea23f549947ae1498b02b1 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Fri, 3 Jan 2025 02:23:31 +1000 Subject: [PATCH] Remove now-unused prop `IMainFormForTools.OnPauseChanged` fixes 7b904b171 --- src/BizHawk.Client.EmuHawk/IMainFormForTools.cs | 3 --- src/BizHawk.Client.EmuHawk/MainForm.cs | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/IMainFormForTools.cs b/src/BizHawk.Client.EmuHawk/IMainFormForTools.cs index fd547c82e65..4c13ecf2b05 100644 --- a/src/BizHawk.Client.EmuHawk/IMainFormForTools.cs +++ b/src/BizHawk.Client.EmuHawk/IMainFormForTools.cs @@ -40,9 +40,6 @@ public interface IMainFormForTools : IDialogController /// only referenced from bool PressRewind { get; set; } - /// only referenced from - event Action OnPauseChanged; - BitmapBuffer CaptureOSD(); /// only referenced from diff --git a/src/BizHawk.Client.EmuHawk/MainForm.cs b/src/BizHawk.Client.EmuHawk/MainForm.cs index c7d88f8f1eb..db62003dce6 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.cs @@ -958,14 +958,11 @@ private set } _emulatorPaused = value; - OnPauseChanged?.Invoke(_emulatorPaused); } } public bool BlockFrameAdvance { get; set; } - public event Action OnPauseChanged; - public string CurrentlyOpenRom { get; private set; } // todo - delete me and use only args instead public LoadRomArgs CurrentlyOpenRomArgs { get; private set; } public bool PauseAvi { get; set; }