Vectrex: Add frame buffer to state an set to released
This commit is contained in:
parent
90436811b9
commit
66cf00a917
|
@ -47,10 +47,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex
|
||||||
ms.Close();
|
ms.Close();
|
||||||
core = ms.ToArray();
|
core = ms.ToArray();
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
_framebuffer = new int[VirtualWidth * VirtualHeight];
|
|
||||||
}
|
|
||||||
cpu.SyncState(ser);
|
cpu.SyncState(ser);
|
||||||
mapper.SyncState(ser);
|
mapper.SyncState(ser);
|
||||||
ppu.SyncState(ser);
|
ppu.SyncState(ser);
|
||||||
|
@ -113,6 +110,9 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex
|
||||||
ser.Sync(nameof(joy2_LR), ref joy2_LR);
|
ser.Sync(nameof(joy2_LR), ref joy2_LR);
|
||||||
ser.Sync(nameof(joy2_UD), ref joy2_UD);
|
ser.Sync(nameof(joy2_UD), ref joy2_UD);
|
||||||
|
|
||||||
|
ser.Sync(nameof(_framebuffer), ref _framebuffer, false);
|
||||||
|
ser.Sync(nameof(_vidbuffer), ref _vidbuffer, false);
|
||||||
|
|
||||||
ser.EndSection();
|
ser.EndSection();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex
|
||||||
"VectrexHawk",
|
"VectrexHawk",
|
||||||
"",
|
"",
|
||||||
isPorted: false,
|
isPorted: false,
|
||||||
isReleased: false)]
|
isReleased: true)]
|
||||||
[ServiceNotApplicable(typeof(IDriveLight))]
|
[ServiceNotApplicable(typeof(IDriveLight))]
|
||||||
public partial class VectrexHawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, IRegionable,
|
public partial class VectrexHawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, IRegionable,
|
||||||
ISettable<VectrexHawk.VectrexSettings, VectrexHawk.VectrexSyncSettings>
|
ISettable<VectrexHawk.VectrexSettings, VectrexHawk.VectrexSyncSettings>
|
||||||
|
|
Loading…
Reference in New Issue