# HG changeset patch # User Michael Pavone # Date 1738548410 28800 # Node ID 941bc319dcd8c1d9d9782ffcb354a92f790810d5 # Parent 3d14db924e5714b68272f3881fd93c1443160e2b Fix sprite zoom in TMS modes for real this time diff -r 3d14db924e57 -r 941bc319dcd8 vdp.c --- 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; } }