From 47ffe952bcfc31a78c16be8620109955fdc17f2f Mon Sep 17 00:00:00 2001 From: Oxore Date: Mon, 12 Jun 2023 23:57:00 +0300 Subject: Optimize debug run --- emulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emulator.cpp') diff --git a/emulator.cpp b/emulator.cpp index 0dc63b9..72d5184 100644 --- a/emulator.cpp +++ b/emulator.cpp @@ -442,13 +442,13 @@ void ParseAndReact( static void RunSingleVideoCycle(M68KDebuggingControl& m68k_debug, Graphics& graphics) { do { - g_cycles_counter += m68k_execute(100000); + g_cycles_counter += m68k_execute(4000); if (m68k_debug.HasBreakpoint()) { return; } } while (!g_vdp.Scanline()); graphics.Render(g_vdp); - g_cycles_counter += m68k_execute(800000); + g_cycles_counter += m68k_execute(400000); } int emulator(M68KDebuggingControl& m68k_debug, Graphics& graphics) -- cgit v1.2.3