Rewinder - remove message callback, I dont' think this message is worth the code, especially since mainform always adds a message

This commit is contained in:
adelikat 2020-05-17 15:14:40 -05:00
parent 78c1482720
commit 100fc2bad5
2 changed files with 1 additions and 10 deletions

View File

@ -19,8 +19,6 @@ namespace BizHawk.Client.Common
private bool _lastRewindLoadedState;
private byte[] _deltaBuffer = new byte[0];
public Action<string> MessageCallback { get; set; }
public bool RewindActive => RewindEnabled && !SuspendRewind;
private bool RewindEnabled { get; set; }
@ -61,10 +59,6 @@ namespace BizHawk.Client.Common
RewindFrequency = rewindConfig.FrequencySmall;
}
MessageCallback?.Invoke(RewindEnabled ?
$"Rewind enabled, frequency: {RewindFrequency}" :
"Rewind disabled");
_rewindDeltaEnable = rewindConfig.UseDelta;
if (RewindActive)

View File

@ -200,10 +200,7 @@ namespace BizHawk.Client.EmuHawk
}
GlobalWin.MainForm = this;
Rewinder = new Rewinder
{
MessageCallback = AddOnScreenMessage
};
Rewinder = new Rewinder();
Global.InputManager.ControllerInputCoalescer = new ControllerInputCoalescer();
Global.FirmwareManager = new FirmwareManager();