mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-02 22:26:25 +00:00
Don't crash when the virtual PSP isn't inited.
This commit is contained in:
parent
9281fccacd
commit
db4abcd0c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user