Mercurial > repos > blastem
changeset 2205:90297f1fb3fe
Fix implementation of semi-broken sprite zoom on SMS1
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 23 Aug 2022 20:21:26 -0700 |
parents | dc4268a778bc |
children | 4c265d2f6c88 |
files | vdp.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/vdp.c Mon Aug 22 23:21:16 2022 -0700 +++ b/vdp.c Tue Aug 23 20:21:26 2022 -0700 @@ -702,9 +702,6 @@ uint32_t size = (context->regs[REG_MODE_2] & BIT_SPRITE_SZ) ? 16 : 8; uint32_t ysize = size; uint8_t zoom = context->type != VDP_GENESIS && (context->regs[REG_MODE_2] & BIT_SPRITE_ZM); - if (context->type == VDP_SMS && context->slot_counter <= 4) { - zoom = 0; - } if (zoom) { ysize *= 2; } @@ -814,9 +811,6 @@ address = mode4_address_map[address]; --context->sprite_draws; uint8_t zoom = context->type != VDP_GENESIS && (context->regs[REG_MODE_2] & BIT_SPRITE_ZM); - if (context->type == VDP_SMS && context->sprite_draws < 4) { - zoom = 0; - } uint32_t tile_address = context->vdpmem[address] * 32 + (context->regs[REG_STILE_BASE] << 11 & 0x2000); if (context->regs[REG_MODE_2] & BIT_SPRITE_SZ) { tile_address &= ~32;