comparison sms.c @ 1184:b1147418254a

Overscan is now configurable
author Michael Pavone <pavone@retrodev.com>
date Wed, 18 Jan 2017 23:43:36 -0800
parents c4ea535cf57e
children aee2177a1630
comparison
equal deleted inserted replaced
1183:8d8c71ebbbce 1184:b1147418254a
191 static void run_sms(system_header *system) 191 static void run_sms(system_header *system)
192 { 192 {
193 render_disable_ym(); 193 render_disable_ym();
194 sms_context *sms = (sms_context *)system; 194 sms_context *sms = (sms_context *)system;
195 uint32_t target_cycle = sms->z80->current_cycle + 3420*262; 195 uint32_t target_cycle = sms->z80->current_cycle + 3420*262;
196 //TODO: PAL support
197 render_set_video_standard(VID_NTSC);
196 while (!sms->should_return) 198 while (!sms->should_return)
197 { 199 {
198 if (system->enter_debugger && sms->z80->pc) { 200 if (system->enter_debugger && sms->z80->pc) {
199 system->enter_debugger = 0; 201 system->enter_debugger = 0;
200 zdebugger(sms->z80, sms->z80->pc); 202 zdebugger(sms->z80, sms->z80->pc);