diff --git a/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs b/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs index 7b93fb871d..a0e0eb1caf 100644 --- a/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs +++ b/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.IStatable.cs @@ -47,10 +47,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex ms.Close(); core = ms.ToArray(); } - else - { - _framebuffer = new int[VirtualWidth * VirtualHeight]; - } + cpu.SyncState(ser); mapper.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_UD), ref joy2_UD); + ser.Sync(nameof(_framebuffer), ref _framebuffer, false); + ser.Sync(nameof(_vidbuffer), ref _vidbuffer, false); + ser.EndSection(); } } diff --git a/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.cs b/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.cs index 572afec960..a7ed21a9e7 100644 --- a/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.cs +++ b/BizHawk.Emulation.Cores/Consoles/GCE/Vectrex/VectrexHawk.cs @@ -10,7 +10,7 @@ namespace BizHawk.Emulation.Cores.Consoles.Vectrex "VectrexHawk", "", isPorted: false, - isReleased: false)] + isReleased: true)] [ServiceNotApplicable(typeof(IDriveLight))] public partial class VectrexHawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, IRegionable, ISettable