Mercurial > repos > blastem
changeset 2572:941bc319dcd8
Fix sprite zoom in TMS modes for real this time
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 02 Feb 2025 18:06:50 -0800 |
parents | 3d14db924e57 |
children | 639561060a28 |
files | vdp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vdp.c Sun Feb 02 00:31:58 2025 -0800 +++ b/vdp.c Sun Feb 02 18:06:50 2025 -0800 @@ -4073,7 +4073,7 @@ output = context->sprite_draw_list[i].pal_priority; } } - if (!(context->regs[REG_MODE_2] & BIT_SPRITE_SZ) || ((x - context->sprite_draw_list[i].x_pos) & 1)) { + if (!(context->regs[REG_MODE_2] & BIT_SPRITE_ZM) || ((x - context->sprite_draw_list[i].x_pos) & 1)) { context->sprite_draw_list[i].address <<= 1; } }