From 84ca406b7b5eb9539423727781cc09a2df11366e Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 7 Apr 2013 23:02:33 +0200 Subject: [PATCH] Bigger stack buffer for gpu stats (yes need to do something better here). --- UI/EmuScreen.cpp | 4 +++- native | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 927b3a769d..da50d4a4f4 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -261,8 +261,10 @@ void EmuScreen::render() { DrawWatermark(); if (g_Config.bShowDebugStats) { - char statbuf[2048]; + char statbuf[4096] = {0}; __DisplayGetDebugStats(statbuf); + if (statbuf[4095]) + ERROR_LOG(HLE, "Statbuf too big"); ui_draw2d.SetFontScale(.7f, .7f); ui_draw2d.DrawText(UBUNTU24, statbuf, 10, 10, 0xFFFFFFFF); ui_draw2d.SetFontScale(1.0f, 1.0f); diff --git a/native b/native index 75dfa1206e..f71f3183b2 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit 75dfa1206ed5c84c04af758e8465be2574e72b2c +Subproject commit f71f3183b2149a59660a05b2aed8e25d2d278ceb