From fbb82ccab3a3561805cbe79b15e8d27f9af4f7f5 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 18 Jun 2013 10:48:16 -0400 Subject: [PATCH] Whoops, look like the previous commit was also the case with VideoDX9 --- Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index be13911fe9..625db5f44e 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -998,7 +998,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons if (SConfig::GetInstance().m_ShowLag) { 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); }