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:
parent
d0de0a3f47
commit
530ea7528e
|
@ -110,10 +110,6 @@ void Host_PPCBreakpointsChanged()
|
|||
{
|
||||
}
|
||||
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
|
||||
bool Host_UIBlocksControllerState()
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -161,7 +161,6 @@ bool DSPLLE::Initialize(bool wii, bool dsp_thread)
|
|||
m_dsp_thread = std::thread(DSPThread, this);
|
||||
}
|
||||
|
||||
Host_RefreshDSPDebuggerWindow();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -61,10 +61,6 @@ void Host_PPCBreakpointsChanged()
|
|||
{
|
||||
}
|
||||
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
|
||||
bool Host_UIBlocksControllerState()
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -29,10 +29,6 @@ void Host_PPCBreakpointsChanged()
|
|||
{
|
||||
}
|
||||
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
|
||||
bool Host_UIBlocksControllerState()
|
||||
{
|
||||
return false;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -19,9 +19,6 @@ void Host_PPCSymbolsChanged()
|
|||
void Host_PPCBreakpointsChanged()
|
||||
{
|
||||
}
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
void Host_Message(HostMessageID)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -19,9 +19,6 @@ void Host_PPCSymbolsChanged()
|
|||
void Host_PPCBreakpointsChanged()
|
||||
{
|
||||
}
|
||||
void Host_RefreshDSPDebuggerWindow()
|
||||
{
|
||||
}
|
||||
void Host_Message(HostMessageID)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue