From 789cd2d0f0742093718b6acead76c401b4b367d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Mon, 3 Feb 2020 07:38:26 -0300 Subject: [PATCH] Revert "Enable layers in non-tile modes." We need to use proper documented behaviour when coding the core, therefore this should be reverted until a proper solution is done. This reverts commit ca3b63d64c6d3d5e4670d3d93b2479029b07ed18. --- src/gba/GBA.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gba/GBA.cpp b/src/gba/GBA.cpp index 6ff9dc44..27f991b1 100644 --- a/src/gba/GBA.cpp +++ b/src/gba/GBA.cpp @@ -577,7 +577,6 @@ extern uint32_t line3[240]; void CPUUpdateRenderBuffers(bool force) { - layerEnable = layerSettings & DISPCNT; if (!(layerEnable & 0x0100) || force) { CLEAR_ARRAY(line0); }