mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-06 20:55:23 +02:00
Don't crash when the virtual PSP isn't inited.
This commit is contained in:
@@ -813,7 +813,8 @@ void CDisasm::UpdateDialog(bool _bComplete)
|
||||
rl->redraw();
|
||||
// Update Debug Counter
|
||||
wchar_t tempTicks[24];
|
||||
_snwprintf(tempTicks, 24, L"%lld", CoreTiming::GetTicks()-lastTicks);
|
||||
if (PSP_IsInited())
|
||||
_snwprintf(tempTicks, 24, L"%lld", CoreTiming::GetTicks()-lastTicks);
|
||||
SetDlgItemText(m_hDlg, IDC_DEBUG_COUNT, tempTicks);
|
||||
|
||||
// Update Register Dialog
|
||||
|
||||
Reference in New Issue
Block a user