sameboy: fix possible crash on loadstate with gb printer active
This commit is contained in:
parent
961723ef32
commit
1532950961
|
@ -300,6 +300,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.Gameboy
|
||||||
protected override void LoadStateBinaryInternal(BinaryReader reader)
|
protected override void LoadStateBinaryInternal(BinaryReader reader)
|
||||||
{
|
{
|
||||||
UpdateCoreScanlineCallback(false);
|
UpdateCoreScanlineCallback(false);
|
||||||
|
_core.SetPrinterCallback(_printerCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsCGBMode() => _cgb;
|
public bool IsCGBMode() => _cgb;
|
||||||
|
|
Loading…
Reference in New Issue