From 52aa7ee9cf36f520cbf051759dd905e4d435136e Mon Sep 17 00:00:00 2001 From: The Dax Date: Thu, 2 Jan 2014 16:49:26 -0500 Subject: [PATCH] Only set the dialog text if the virtual PSP is inited, as well. --- Windows/Debugger/Debugger_Disasm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Windows/Debugger/Debugger_Disasm.cpp b/Windows/Debugger/Debugger_Disasm.cpp index 0d077ff6a6..c72332d807 100644 --- a/Windows/Debugger/Debugger_Disasm.cpp +++ b/Windows/Debugger/Debugger_Disasm.cpp @@ -813,10 +813,10 @@ void CDisasm::UpdateDialog(bool _bComplete) rl->redraw(); // Update Debug Counter wchar_t tempTicks[24]; - if (PSP_IsInited()) - _snwprintf(tempTicks, 24, L"%lld", CoreTiming::GetTicks()-lastTicks); - SetDlgItemText(m_hDlg, IDC_DEBUG_COUNT, tempTicks); - + if (PSP_IsInited()) { + _snwprintf(tempTicks, 24, L"%lld", CoreTiming::GetTicks() - lastTicks); + SetDlgItemText(m_hDlg, IDC_DEBUG_COUNT, tempTicks); + } // Update Register Dialog for (int i=0; i