O2Hawk: correctly remove videbuffer from state
This commit is contained in:
parent
81bdacea64
commit
a1844f5d5c
|
@ -56,9 +56,6 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
|
|||
// update the controller state on VBlank
|
||||
GetControllerState(controller);
|
||||
|
||||
// send the image on VBlank
|
||||
SendVideoBuffer();
|
||||
|
||||
bool frame_chk = true;
|
||||
//Console.WriteLine("----------FRAME----------");
|
||||
|
||||
|
@ -110,6 +107,9 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
|
|||
in_vblank_old = in_vblank;
|
||||
}
|
||||
}
|
||||
|
||||
// send the image on VBlank
|
||||
SendVideoBuffer();
|
||||
}
|
||||
|
||||
public void do_single_step()
|
||||
|
|
|
@ -39,8 +39,6 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
|
|||
ser.Sync(nameof(kb_state_row), ref kb_state_row);
|
||||
ser.Sync(nameof(kb_state_col), ref kb_state_col);
|
||||
|
||||
ser.Sync(nameof(_vidbuffer), ref _vidbuffer, false);
|
||||
|
||||
// probably a better way to do this
|
||||
if (cart_RAM != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue