summaryrefslogtreecommitdiff
path: root/emulator.cpp
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-06-12 23:57:00 +0300
committerOxore <oxore@protonmail.com>2023-06-12 23:57:00 +0300
commit47ffe952bcfc31a78c16be8620109955fdc17f2f (patch)
treea1962e8a0e73bedce8b09514ad01f84e8b3e47b5 /emulator.cpp
parent2da31a5111e1e7aa942c4260f5b7a08673e10845 (diff)
Optimize debug run
Diffstat (limited to 'emulator.cpp')
-rw-r--r--emulator.cpp4
1 files changed, 2 insertions, 2 deletions
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)