Bigger stack buffer for gpu stats (yes need to do something better here).

This commit is contained in:
Henrik Rydgard 2013-04-07 23:02:33 +02:00
parent 7900a6d807
commit 84ca406b7b
2 changed files with 4 additions and 2 deletions

View file

@ -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);

2
native

@ -1 +1 @@
Subproject commit 75dfa1206ed5c84c04af758e8465be2574e72b2c
Subproject commit f71f3183b2149a59660a05b2aed8e25d2d278ceb