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