Host: Remove unnecessary functions

Remove Host_RefreshDSPDebuggerWindow (which hasn't done anything since
DolphinWX was removed in 44b22c90) and DSP::Host::UpdateDebugger (which
only called Host_RefreshDSPDebuggerWindow).
This commit is contained in:
Dentomologist 2025-08-02 15:03:55 -07:00
commit 530ea7528e
12 changed files with 0 additions and 39 deletions

View file

@ -110,10 +110,6 @@ void Host_PPCBreakpointsChanged()
{ {
} }
void Host_RefreshDSPDebuggerWindow()
{
}
bool Host_UIBlocksControllerState() bool Host_UIBlocksControllerState()
{ {
return false; return false;

View file

@ -482,8 +482,6 @@ int DSPCore::RunCycles(int cycles)
m_dsp_interpreter->Step(); m_dsp_interpreter->Step();
cycles--; cycles--;
Host::UpdateDebugger();
break; break;
case State::Stopped: case State::Stopped:
break; break;
@ -519,8 +517,6 @@ void DSPCore::SetState(State new_state)
// kick the event, in case we are waiting // kick the event, in case we are waiting
if (new_state == State::Running) if (new_state == State::Running)
m_step_event.Set(); m_step_event.Set();
Host::UpdateDebugger();
} }
State DSPCore::GetState() const State DSPCore::GetState() const

View file

@ -29,5 +29,4 @@ bool IsWiiHost();
void InterruptRequest(); void InterruptRequest();
void CodeLoaded(DSPCore& dsp, u32 addr, size_t size); void CodeLoaded(DSPCore& dsp, u32 addr, size_t size);
void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size); void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size);
void UpdateDebugger();
} // namespace DSP::Host } // namespace DSP::Host

View file

@ -96,14 +96,7 @@ void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size)
Symbols::AutoDisassembly(state, 0x0, 0x1000); Symbols::AutoDisassembly(state, 0x0, 0x1000);
Symbols::AutoDisassembly(state, 0x8000, 0x9000); Symbols::AutoDisassembly(state, 0x8000, 0x9000);
UpdateDebugger();
dsp.ClearIRAM(); dsp.ClearIRAM();
state.GetAnalyzer().Analyze(state); state.GetAnalyzer().Analyze(state);
} }
void UpdateDebugger()
{
Host_RefreshDSPDebuggerWindow();
}
} // namespace DSP::Host } // namespace DSP::Host

View file

@ -161,7 +161,6 @@ bool DSPLLE::Initialize(bool wii, bool dsp_thread)
m_dsp_thread = std::thread(DSPThread, this); m_dsp_thread = std::thread(DSPThread, this);
} }
Host_RefreshDSPDebuggerWindow();
return true; return true;
} }

View file

@ -58,7 +58,6 @@ bool Host_TASInputHasFocus();
void Host_Message(HostMessageID id); void Host_Message(HostMessageID id);
void Host_PPCSymbolsChanged(); void Host_PPCSymbolsChanged();
void Host_PPCBreakpointsChanged(); void Host_PPCBreakpointsChanged();
void Host_RefreshDSPDebuggerWindow();
void Host_RequestRenderWindowSize(int width, int height); void Host_RequestRenderWindowSize(int width, int height);
void Host_UpdateDisasmDialog(); void Host_UpdateDisasmDialog();
void Host_JitCacheInvalidation(); void Host_JitCacheInvalidation();

View file

@ -61,10 +61,6 @@ void Host_PPCBreakpointsChanged()
{ {
} }
void Host_RefreshDSPDebuggerWindow()
{
}
bool Host_UIBlocksControllerState() bool Host_UIBlocksControllerState()
{ {
return false; return false;

View file

@ -293,10 +293,6 @@ bool Host_UIBlocksControllerState()
Core::GetState(Core::System::GetInstance()) != Core::State::Paused; Core::GetState(Core::System::GetInstance()) != Core::State::Paused;
} }
void Host_RefreshDSPDebuggerWindow()
{
}
void Host_TitleChanged() void Host_TitleChanged()
{ {
#ifdef USE_DISCORD_PRESENCE #ifdef USE_DISCORD_PRESENCE

View file

@ -29,10 +29,6 @@ void Host_PPCBreakpointsChanged()
{ {
} }
void Host_RefreshDSPDebuggerWindow()
{
}
bool Host_UIBlocksControllerState() bool Host_UIBlocksControllerState()
{ {
return false; return false;

View file

@ -49,9 +49,6 @@ void DSP::Host::CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size)
void DSP::Host::InterruptRequest() void DSP::Host::InterruptRequest()
{ {
} }
void DSP::Host::UpdateDebugger()
{
}
static std::string CodeToHeader(const std::vector<u16>& code, const std::string& filename) static std::string CodeToHeader(const std::vector<u16>& code, const std::string& filename)
{ {

View file

@ -19,9 +19,6 @@ void Host_PPCSymbolsChanged()
void Host_PPCBreakpointsChanged() void Host_PPCBreakpointsChanged()
{ {
} }
void Host_RefreshDSPDebuggerWindow()
{
}
void Host_Message(HostMessageID) void Host_Message(HostMessageID)
{ {
} }

View file

@ -19,9 +19,6 @@ void Host_PPCSymbolsChanged()
void Host_PPCBreakpointsChanged() void Host_PPCBreakpointsChanged()
{ {
} }
void Host_RefreshDSPDebuggerWindow()
{
}
void Host_Message(HostMessageID) void Host_Message(HostMessageID)
{ {
} }