Previous 15994 Revisions Next

r6084 Thursday 15th October, 2009 at 05:23:52 UTC by Fabio Priuli
minor restoring to avoid confusion
[src/mess/machine]sms.c

src/mess/machine/sms.c
r6083r6084
195195   UINT64 calc_cycles;
196196   attotime time_end;
197197   const device_config *screen = video_screen_first(machine->config);
198
199   //int hpos = video_screen_get_hpos(screen);
198200   int vpos = video_screen_get_vpos(screen);
199201   int width = video_screen_get_width(screen);
200202   
201203   /* this is simpler and independent of other clocks */
202   //tmp = ( (hpos - 46) >> 1 ) & 0xFF;
204   //tmp = ((hpos - 46) >> 1) & 0xff;
203205   
204206   /* ... but this is closer to the behavior described by Flubba */
205207   /* and makes use of his equation posted at SMSPower forum.    */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team