From d0f2fdc2e86e2f9aa08348ebf3e0531dc903b8ff Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 7 Apr 2010 16:18:06 +0000 Subject: [PATCH] Update wx frontend per GPU changes. --- desmume/src/wx/wxMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/wx/wxMain.cpp b/desmume/src/wx/wxMain.cpp index 54aae35f3..0c47975e2 100644 --- a/desmume/src/wx/wxMain.cpp +++ b/desmume/src/wx/wxMain.cpp @@ -302,13 +302,13 @@ loop: } void mainG(int n) { - if(MainScreen.gpu->dispBG[n]) + if(CommonSettings.dispLayers[0][n]) GPU_remove(MainScreen.gpu, n); else GPU_addBack(MainScreen.gpu, n); } void subG(int n) { - if(SubScreen.gpu->dispBG[n]) + if(CommonSettings.dispLayers[1][n]) GPU_remove(SubScreen.gpu, n); else GPU_addBack(SubScreen.gpu, n);