Skip to content

Commit

Permalink
Render enabled sub-screen layers
Browse files Browse the repository at this point in the history
  • Loading branch information
twvd committed Nov 6, 2023
1 parent cd2f50a commit 4c3ccbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snes/ppu/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4c3ccbc

Please sign in to comment.