Core: Kill off Host_UpdateLogDisplay()

This was actually never used as far as I can tell. There was no wx event handling done whatsoever for the global ID, So this is basically a dead function.
This commit is contained in:
Lioncash 2014-08-05 00:35:53 -04:00
parent a0a533d3a3
commit 7bf82f1989
10 changed files with 0 additions and 29 deletions

View File

@ -122,11 +122,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type,
ERROR_LOG(_t_, __VA_ARGS__); \ ERROR_LOG(_t_, __VA_ARGS__); \
if (!PanicYesNo(__VA_ARGS__)) {Crash();} \ if (!PanicYesNo(__VA_ARGS__)) {Crash();} \
} }
#define _dbg_update_() Host_UpdateLogDisplay();
#else // not debug #else // not debug
#define _dbg_update_() ;
#ifndef _dbg_assert_ #ifndef _dbg_assert_
#define _dbg_assert_(_t_, _a_) {} #define _dbg_assert_(_t_, _a_) {}
#define _dbg_assert_msg_(_t_, _a_, _desc_, ...) {} #define _dbg_assert_msg_(_t_, _a_, _desc_, ...) {}

View File

@ -429,7 +429,5 @@ bool CBoot::BootUp()
// Not part of the binary itself, but either we or Gecko OS might insert // Not part of the binary itself, but either we or Gecko OS might insert
// this, and it doesn't clear the icache properly. // this, and it doesn't clear the icache properly.
HLE::Patch(0x800018a8, "GeckoCodehandler"); HLE::Patch(0x800018a8, "GeckoCodehandler");
Host_UpdateLogDisplay();
return true; return true;
} }

View File

@ -37,7 +37,6 @@ void Host_SetWiiMoteConnectionState(int _State);
void Host_ShowJitResults(unsigned int address); void Host_ShowJitResults(unsigned int address);
void Host_SysMessage(const char *fmt, ...); void Host_SysMessage(const char *fmt, ...);
void Host_UpdateDisasmDialog(); void Host_UpdateDisasmDialog();
void Host_UpdateLogDisplay();
void Host_UpdateMainFrame(); void Host_UpdateMainFrame();
void Host_UpdateStatusBar(const std::string& text, int Filed = 0); void Host_UpdateStatusBar(const std::string& text, int Filed = 0);
void Host_UpdateTitle(const std::string& title); void Host_UpdateTitle(const std::string& title);

View File

@ -106,7 +106,6 @@ int SyncTrace()
*/ */
if (difference) if (difference)
{ {
Host_UpdateLogDisplay();
//Also show drec compare window here //Also show drec compare window here
//CDynaViewDlg::Show(true); //CDynaViewDlg::Show(true);
//CDynaViewDlg::ViewAddr(m_BlockStart); //CDynaViewDlg::ViewAddr(m_BlockStart);

View File

@ -285,7 +285,6 @@ void CCodeWindow::SingleStep()
// need a short wait here // need a short wait here
JumpToAddress(PC); JumpToAddress(PC);
Update(); Update();
Host_UpdateLogDisplay();
} }
} }

View File

@ -245,7 +245,6 @@ enum
IDM_COMPRESSGCM, IDM_COMPRESSGCM,
IDM_MULTICOMPRESSGCM, IDM_MULTICOMPRESSGCM,
IDM_MULTIDECOMPRESSGCM, IDM_MULTIDECOMPRESSGCM,
IDM_UPDATELOGDISPLAY,
IDM_UPDATEDISASMDIALOG, IDM_UPDATEDISASMDIALOG,
IDM_UPDATEGUI, IDM_UPDATEGUI,
IDM_UPDATESTATUSBAR, IDM_UPDATESTATUSBAR,

View File

@ -542,19 +542,6 @@ void Host_NotifyMapLoaded()
} }
} }
void Host_UpdateLogDisplay()
{
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATELOGDISPLAY);
main_frame->GetEventHandler()->AddPendingEvent(event);
if (main_frame->g_pCodeWindow)
{
main_frame->g_pCodeWindow->GetEventHandler()->AddPendingEvent(event);
}
}
void Host_UpdateDisasmDialog() void Host_UpdateDisasmDialog()
{ {
wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEDISASMDIALOG); wxCommandEvent event(wxEVT_HOST_COMMAND, IDM_UPDATEDISASMDIALOG);
@ -566,7 +553,6 @@ void Host_UpdateDisasmDialog()
} }
} }
void Host_ShowJitResults(unsigned int address) void Host_ShowJitResults(unsigned int address)
{ {
if (main_frame->g_pCodeWindow && main_frame->g_pCodeWindow->m_JitWindow) if (main_frame->g_pCodeWindow && main_frame->g_pCodeWindow->m_JitWindow)

View File

@ -72,8 +72,6 @@ void Host_UpdateTitle(const std::string& title)
__android_log_write(ANDROID_LOG_INFO, DOLPHIN_TAG, title.c_str()); __android_log_write(ANDROID_LOG_INFO, DOLPHIN_TAG, title.c_str());
} }
void Host_UpdateLogDisplay(){}
void Host_UpdateDisasmDialog(){} void Host_UpdateDisasmDialog(){}
void Host_UpdateMainFrame() void Host_UpdateMainFrame()

View File

@ -67,8 +67,6 @@ void* Host_GetRenderHandle()
void Host_UpdateTitle(const std::string& title){}; void Host_UpdateTitle(const std::string& title){};
void Host_UpdateLogDisplay(){}
void Host_UpdateDisasmDialog(){} void Host_UpdateDisasmDialog(){}
void Host_UpdateMainFrame() void Host_UpdateMainFrame()

View File

@ -16,7 +16,6 @@ void Host_ShowJitResults(unsigned int) {}
void Host_Message(int) {} void Host_Message(int) {}
void* Host_GetRenderHandle() { return nullptr; } void* Host_GetRenderHandle() { return nullptr; }
void Host_UpdateTitle(const std::string&) {} void Host_UpdateTitle(const std::string&) {}
void Host_UpdateLogDisplay() {}
void Host_UpdateDisasmDialog() {} void Host_UpdateDisasmDialog() {}
void Host_UpdateMainFrame() {} void Host_UpdateMainFrame() {}
void Host_GetRenderWindowSize(int&, int&, int&, int&) {} void Host_GetRenderWindowSize(int&, int&, int&, int&) {}