Mercurial > repos > blastem
diff sms.c @ 2200:f11f4399d64b
Crop display in game gear mode
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 22 Aug 2022 20:19:59 -0700 |
parents | 74b92e20e2ef |
children | ee6d30c56eeb |
line wrap: on
line diff
--- a/sms.c Mon Aug 22 20:05:36 2022 -0700 +++ b/sms.c Mon Aug 22 20:19:59 2022 -0700 @@ -412,7 +412,11 @@ sms_context *sms = (sms_context *)system; uint32_t target_cycle = sms->z80->Z80_CYCLE + 3420*16; //TODO: PAL support - render_set_video_standard(VID_NTSC); + if (sms->vdp->type == VDP_GAMEGEAR) { + render_set_video_standard(VID_GAMEGEAR); + } else { + render_set_video_standard(VID_NTSC); + } while (!sms->should_return) { if (system->delayed_load_slot) {