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
parent d0de0a3f47
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()
{
return false;

View File

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

View File

@ -29,5 +29,4 @@ bool IsWiiHost();
void InterruptRequest();
void CodeLoaded(DSPCore& dsp, u32 addr, size_t size);
void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size);
void UpdateDebugger();
} // 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, 0x8000, 0x9000);
UpdateDebugger();
dsp.ClearIRAM();
state.GetAnalyzer().Analyze(state);
}
void UpdateDebugger()
{
Host_RefreshDSPDebuggerWindow();
}
} // namespace DSP::Host

View File

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

View File

@ -58,7 +58,6 @@ 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();
void Host_JitCacheInvalidation();

View File

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

View File

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

View File

@ -29,10 +29,6 @@ void Host_PPCBreakpointsChanged()
{
}
void Host_RefreshDSPDebuggerWindow()
{
}
bool Host_UIBlocksControllerState()
{
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::UpdateDebugger()
{
}
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_RefreshDSPDebuggerWindow()
{
}
void Host_Message(HostMessageID)
{
}

View File

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