From 669515bf6e376cae2b2fae70ed06fcf68fc59f73 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 26 Apr 2017 15:02:46 -0500 Subject: [PATCH] winport: fix OSD with prescale + single CPU --- desmume/src/frontend/windows/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/frontend/windows/main.cpp b/desmume/src/frontend/windows/main.cpp index e8e8acb00..4e17c9a0f 100644 --- a/desmume/src/frontend/windows/main.cpp +++ b/desmume/src/frontend/windows/main.cpp @@ -1968,7 +1968,7 @@ static void DoDisplay(bool firstTime) //on such lousy computers if(CommonSettings.single_core()) { - aggDraw.hud->attach((u8*)video.buffer, 256, 384, 1024); + aggDraw.hud->attach((u8*)video.buffer, video.width, video.height, video.width*4); DoDisplay_DrawHud(); } }