From 4c3ccbcec86c4ec605e67eb023692ddef667b828 Mon Sep 17 00:00:00 2001 From: Thomas Date: Mon, 6 Nov 2023 21:17:41 +0100 Subject: [PATCH] Render enabled sub-screen layers --- src/snes/ppu/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snes/ppu/render.rs b/src/snes/ppu/render.rs index 87c714d..67fef97 100644 --- a/src/snes/ppu/render.rs +++ b/src/snes/ppu/render.rs @@ -32,7 +32,7 @@ where line_paletted: &mut [Color], priority: bool, ) { - if self.tm & (1 << bg) == 0 { + if (self.tm | self.ts) & (1 << bg) == 0 { return; }