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 committed 2025-08-03 13:19:30 -07:00
1 parent d0de0a3f47
commit 530ea7528e
12 files changed
-39

No files matched your search

-4
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
-1
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
-7
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
-1
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;
}
-1
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();