trunk/src/mame/machine/megadriv.c
r22019 | r22020 | |
28 | 28 | |
29 | 29 | MACHINE_CONFIG_EXTERN( megadriv ); |
30 | 30 | |
31 | | int genesis_other_hacks = 0; // misc hacks |
32 | | |
33 | 31 | timer_device* megadriv_scanline_timer; |
34 | 32 | |
35 | 33 | |
r22019 | r22020 | |
942 | 940 | megadriv_scanline_timer->adjust(attotime::zero); |
943 | 941 | } |
944 | 942 | |
945 | | if (genesis_other_hacks) |
| 943 | if (state->m_other_hacks) |
946 | 944 | { |
947 | 945 | // set_refresh_rate(megadriv_framerate); |
948 | 946 | // machine.device("maincpu")->set_clock_scale(0.9950f); /* Fatal Rewind is very fussy... (and doesn't work now anyway, so don't bother with this) */ |
r22019 | r22020 | |
1295 | 1293 | DRIVER_INIT_MEMBER(md_base_state,megadriv_c2) |
1296 | 1294 | { |
1297 | 1295 | genvdp_use_cram = 0; |
1298 | | genesis_other_hacks = 0; |
| 1296 | m_other_hacks = 0; |
1299 | 1297 | |
1300 | 1298 | megadriv_init_common(); |
1301 | 1299 | megadriv_framerate = 60; |
r22019 | r22020 | |
1306 | 1304 | DRIVER_INIT_MEMBER(md_base_state,megadriv) |
1307 | 1305 | { |
1308 | 1306 | genvdp_use_cram = 1; |
1309 | | genesis_other_hacks = 1; |
| 1307 | m_other_hacks = 1; |
1310 | 1308 | |
1311 | 1309 | megadriv_init_common(); |
1312 | 1310 | megadriv_framerate = 60; |
r22019 | r22020 | |
1315 | 1313 | DRIVER_INIT_MEMBER(md_base_state,megadrij) |
1316 | 1314 | { |
1317 | 1315 | genvdp_use_cram = 1; |
1318 | | genesis_other_hacks = 1; |
| 1316 | m_other_hacks = 1; |
1319 | 1317 | |
1320 | 1318 | megadriv_init_common(); |
1321 | 1319 | megadriv_framerate = 60; |
r22019 | r22020 | |
1324 | 1322 | DRIVER_INIT_MEMBER(md_base_state,megadrie) |
1325 | 1323 | { |
1326 | 1324 | genvdp_use_cram = 1; |
1327 | | genesis_other_hacks = 1; |
| 1325 | m_other_hacks = 1; |
1328 | 1326 | |
1329 | 1327 | megadriv_init_common(); |
1330 | 1328 | megadriv_framerate = 50; |