Skip to content

Commit

Permalink
Implemented sprite always on topin the VDP
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMartin86 committed Apr 13, 2024
1 parent 83abec6 commit 6f90dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/vdp_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ INLINE void WRITE_LONG(void *address, uint32 data)
if (temp & 0x0f) \
{ \
temp |= (lb[i] << 8); \
if (config.sprites_always_on_top) ATTR |= 0b01000000; \
lb[i] = TABLE[temp | ATTR]; \
status |= ((temp & 0x8000) >> 10); \
} \
Expand Down

0 comments on commit 6f90dda

Please sign in to comment.