diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index bc6205e190..b6468ed85c 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -101,6 +101,10 @@ void Host_PPCSymbolsChanged() { } +void Host_PPCBreakpointsChanged() +{ +} + void Host_RefreshDSPDebuggerWindow() { } diff --git a/Source/Core/Core/Host.h b/Source/Core/Core/Host.h index 9fd6a3c35f..5fc1fc1ee9 100644 --- a/Source/Core/Core/Host.h +++ b/Source/Core/Core/Host.h @@ -57,6 +57,7 @@ bool Host_TASInputHasFocus(); void Host_Message(HostMessageID id); void Host_PPCSymbolsChanged(); +void Host_PPCBreakpointsChanged(); void Host_RefreshDSPDebuggerWindow(); void Host_RequestRenderWindowSize(int width, int height); void Host_UpdateDisasmDialog(); diff --git a/Source/Core/Core/PowerPC/GDBStub.cpp b/Source/Core/Core/PowerPC/GDBStub.cpp index bbd72b8391..349f35254c 100644 --- a/Source/Core/Core/PowerPC/GDBStub.cpp +++ b/Source/Core/Core/PowerPC/GDBStub.cpp @@ -178,6 +178,7 @@ static void RemoveBreakpoint(BreakpointType type, u32 addr, u32 len) INFO_LOG_FMT(GDB_STUB, "gdb: removed a memcheck: {:08x} bytes at {:08x}", len, addr); } } + Host_PPCBreakpointsChanged(); } static void Nack() @@ -896,6 +897,7 @@ static bool AddBreakpoint(BreakpointType type, u32 addr, u32 len) INFO_LOG_FMT(GDB_STUB, "gdb: added {} memcheck: {:08x} bytes at {:08x}", static_cast(type), len, addr); } + Host_PPCBreakpointsChanged(); return true; } diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 33490265b3..539bbe769f 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -61,6 +61,10 @@ void Host_PPCSymbolsChanged() { } +void Host_PPCBreakpointsChanged() +{ +} + void Host_RefreshDSPDebuggerWindow() { } diff --git a/Source/Core/DolphinQt/Host.cpp b/Source/Core/DolphinQt/Host.cpp index f936986b5f..a81924cfd8 100644 --- a/Source/Core/DolphinQt/Host.cpp +++ b/Source/Core/DolphinQt/Host.cpp @@ -271,6 +271,12 @@ void Host_PPCSymbolsChanged() QueueOnObject(QApplication::instance(), [] { emit Host::GetInstance()->PPCSymbolsChanged(); }); } +void Host_PPCBreakpointsChanged() +{ + QueueOnObject(QApplication::instance(), + [] { emit Host::GetInstance()->PPCBreakpointsChanged(); }); +} + // We ignore these, and their purpose should be questioned individually. // In particular, RequestRenderWindowSize, RequestFullscreen, and // UpdateMainFrame should almost certainly be removed. diff --git a/Source/Core/DolphinTool/ToolHeadlessPlatform.cpp b/Source/Core/DolphinTool/ToolHeadlessPlatform.cpp index 6e3f590a2d..59495a7d43 100644 --- a/Source/Core/DolphinTool/ToolHeadlessPlatform.cpp +++ b/Source/Core/DolphinTool/ToolHeadlessPlatform.cpp @@ -25,6 +25,10 @@ void Host_PPCSymbolsChanged() { } +void Host_PPCBreakpointsChanged() +{ +} + void Host_RefreshDSPDebuggerWindow() { } diff --git a/Source/DSPTool/StubHost.cpp b/Source/DSPTool/StubHost.cpp index 8fcd5d8d76..eb263d904c 100644 --- a/Source/DSPTool/StubHost.cpp +++ b/Source/DSPTool/StubHost.cpp @@ -16,6 +16,9 @@ std::vector Host_GetPreferredLocales() void Host_PPCSymbolsChanged() { } +void Host_PPCBreakpointsChanged() +{ +} void Host_RefreshDSPDebuggerWindow() { } diff --git a/Source/UnitTests/StubHost.cpp b/Source/UnitTests/StubHost.cpp index 19d833bde3..ffbb0c41c2 100644 --- a/Source/UnitTests/StubHost.cpp +++ b/Source/UnitTests/StubHost.cpp @@ -16,6 +16,9 @@ std::vector Host_GetPreferredLocales() void Host_PPCSymbolsChanged() { } +void Host_PPCBreakpointsChanged() +{ +} void Host_RefreshDSPDebuggerWindow() { }