O2Hawk: correctly remove videbuffer from state

This commit is contained in:
alyosha-tas 2020-04-11 10:37:12 -04:00
parent 81bdacea64
commit a1844f5d5c
2 changed files with 3 additions and 5 deletions

View File

@ -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()

View File

@ -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)
{