src/mess/machine/sms.c
| r6083 | r6084 | |
| 195 | 195 | UINT64 calc_cycles; |
| 196 | 196 | attotime time_end; |
| 197 | 197 | const device_config *screen = video_screen_first(machine->config); |
| 198 | |
| 199 | //int hpos = video_screen_get_hpos(screen); |
| 198 | 200 | int vpos = video_screen_get_vpos(screen); |
| 199 | 201 | int width = video_screen_get_width(screen); |
| 200 | 202 | |
| 201 | 203 | /* this is simpler and independent of other clocks */ |
| 202 | | //tmp = ( (hpos - 46) >> 1 ) & 0xFF; |
| 204 | //tmp = ((hpos - 46) >> 1) & 0xff; |
| 203 | 205 | |
| 204 | 206 | /* ... but this is closer to the behavior described by Flubba */ |
| 205 | 207 | /* and makes use of his equation posted at SMSPower forum. */ |