From 4c73a8003add2c884dc8ed41303a4be2f0ebebee Mon Sep 17 00:00:00 2001 From: tomcw Date: Fri, 15 Oct 2021 21:08:16 +0100 Subject: [PATCH] Fix TestDebugger (currently only used by VS2008 sln) --- test/TestDebugger/TestDebugger.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/TestDebugger/TestDebugger.cpp b/test/TestDebugger/TestDebugger.cpp index e28a56e0..a7f64b10 100644 --- a/test/TestDebugger/TestDebugger.cpp +++ b/test/TestDebugger/TestDebugger.cpp @@ -32,6 +32,13 @@ FrameBase& GetFrame() // From CPU.cpp regsrec regs; +static eCpuType g_MainCPU = CPU_65C02; + +eCpuType GetMainCpu(void) +{ + return g_MainCPU; +} + // From Memory.cpp LPBYTE mem = NULL; // TODO: Init LPBYTE memdirty = NULL; // TODO: Init