Fix debug counter, not supported in wsprintfW.

This commit is contained in:
Unknown W. Brackets 2013-08-30 22:25:12 -07:00
parent 2ce6f7121b
commit 0e7aa6fc6d

View File

@ -866,7 +866,7 @@ void CDisasm::UpdateDialog(bool _bComplete)
rl->redraw();
// Update Debug Counter
wchar_t tempTicks[24];
wsprintf(tempTicks, L"%lld", CoreTiming::GetTicks()-lastTicks);
_snwprintf(tempTicks, 24, L"%lld", CoreTiming::GetTicks()-lastTicks);
SetDlgItemText(m_hDlg, IDC_DEBUG_COUNT, tempTicks);
// Update Register Dialog