Skip to content

Commit

Permalink
don't draw invisible objects
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfloogle committed Dec 5, 2023
1 parent f0c4d68 commit 764375a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/3ds/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ void sceneRender() {
x += jp;

u16 tileid = cw3 & 0x07ff;
if (!tileVisible[tileid]) continue;
bool hflip = (cw3 & 0x2000) != 0;
bool vflip = (cw3 & 0x1000) != 0;
short u = (tileid % 32) * 8;
Expand Down

0 comments on commit 764375a

Please sign in to comment.