From b912004f69c7a7ace4b709658c54340466fc1070 Mon Sep 17 00:00:00 2001 From: zeromus Date: Tue, 26 Apr 2022 14:08:37 -0400 Subject: [PATCH] oops, we've got to stub FCEUD_FlushTrace on these other platforms --- src/drivers/Qt/TraceLogger.cpp | 7 +++++++ src/drivers/sdl/debugger.cpp | 5 +++++ src/drivers/sdl/sdl.cpp | 7 +++++++ 3 files changed, 19 insertions(+) diff --git a/src/drivers/Qt/TraceLogger.cpp b/src/drivers/Qt/TraceLogger.cpp index 1d4c6f28..47528131 100644 --- a/src/drivers/Qt/TraceLogger.cpp +++ b/src/drivers/Qt/TraceLogger.cpp @@ -1291,6 +1291,13 @@ int FCEUD_TraceLoggerRunning(void) { return logging; } + +void FCEUD_FlushTrace() +{ + //not needed, since it's doing something in a thread, i guess. + //seems weird that there's no way to rendezvous with it +} + //---------------------------------------------------- //todo: really speed this up void FCEUD_TraceInstruction(uint8 *opcode, int size) diff --git a/src/drivers/sdl/debugger.cpp b/src/drivers/sdl/debugger.cpp index e304e4de..9d3a6946 100644 --- a/src/drivers/sdl/debugger.cpp +++ b/src/drivers/sdl/debugger.cpp @@ -1709,6 +1709,11 @@ void FCEUD_DebugBreakpoint(int bp_num) } } +void FCEUD_FlushTrace() +{ + // Place holder to allow for compiling. GTK GUI doesn't support this. Qt Does. +} + void FCEUD_TraceInstruction(uint8 *opcode, int size) { // Place holder to allow for compiling. GTK GUI doesn't support this. Qt Does. diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index 70892e72..9a2b1bee 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -526,6 +526,13 @@ void FCEUD_DebugBreakpoint() { return; } +/** + * Unimplemented. + */ +void FCEUD_FlushTrace() +{ +} + /** * Unimplemented. */