Whoops, look like the previous commit was also the case with VideoDX9

This commit is contained in:
Lioncash 2013-06-18 10:48:16 -04:00
parent f59f059fbf
commit fbb82ccab3
1 changed files with 1 additions and 1 deletions

View File

@ -998,7 +998,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons
if (SConfig::GetInstance().m_ShowLag) if (SConfig::GetInstance().m_ShowLag)
{ {
char lag[10]; char lag[10];
StringCchPrintfA(lag, 1000, "Lag: %llu\n", Movie::g_currentLagCount); StringCchPrintfA(lag, 10, "Lag: %llu\n", Movie::g_currentLagCount);
D3D::font.DrawTextScaled(0, 18, 20, 20, 0.0f, 0xFF00FFFF, lag); D3D::font.DrawTextScaled(0, 18, 20, 20, 0.0f, 0xFF00FFFF, lag);
} }