Skip to content

Commit

Permalink
Merge pull request #561 from vailkyte/tes
Browse files Browse the repository at this point in the history
Force parsing order
  • Loading branch information
LIJI32 authored Sep 2, 2023
2 parents 7542de7 + 816cdf2 commit 4f69e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ static void render_line(GB_gameboy_t *gb)

while (gb->n_visible_objs) {
unsigned object_index = gb->visible_objs[gb->n_visible_objs - 1];
unsigned priority = gb->object_priority == GB_OBJECT_PRIORITY_X? 0 : object_index;
unsigned priority = (gb->object_priority == GB_OBJECT_PRIORITY_X)? 0 : object_index;
const object_t *object = &objects[object_index];
gb->n_visible_objs--;

Expand Down

0 comments on commit 4f69e4e

Please sign in to comment.