From 5aa9872c7fa2ef717a17fe5d3141dd8562d27036 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 24 Apr 2010 22:41:10 +0000 Subject: [PATCH] Backport r3502 from trunk to fix wx frontend compilation. --- 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);