Rewind config - fix NRE when turning off rewind then going back to the config dialog
This commit is contained in:
parent
23f8c2bbe6
commit
91c33a49c0
|
@ -311,7 +311,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (UseDeltaCompression.Checked || _stateSize == 0)
|
||||
{
|
||||
if (_mainForm.Rewinder.Count > 0)
|
||||
if (_mainForm?.Rewinder.Count > 0)
|
||||
{
|
||||
avgStateSize = _mainForm.Rewinder.Size / _mainForm.Rewinder.Count;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue