Previous 199869 Revisions Next

r22020 Friday 22nd March, 2013 at 07:21:41 UTC by Fabio Priuli
another var moved to the state. nw.
[src/mame/includes]megadriv.h
[src/mame/machine]megadriv.c

trunk/src/mame/machine/megadriv.c
r22019r22020
2828
2929MACHINE_CONFIG_EXTERN( megadriv );
3030
31int genesis_other_hacks = 0; // misc hacks
32
3331timer_device* megadriv_scanline_timer;
3432
3533
r22019r22020
942940      megadriv_scanline_timer->adjust(attotime::zero);
943941   }
944942
945   if (genesis_other_hacks)
943   if (state->m_other_hacks)
946944   {
947945   //  set_refresh_rate(megadriv_framerate);
948946   //  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) */
r22019r22020
12951293DRIVER_INIT_MEMBER(md_base_state,megadriv_c2)
12961294{
12971295   genvdp_use_cram = 0;
1298   genesis_other_hacks = 0;
1296   m_other_hacks = 0;
12991297
13001298   megadriv_init_common();
13011299   megadriv_framerate = 60;
r22019r22020
13061304DRIVER_INIT_MEMBER(md_base_state,megadriv)
13071305{
13081306   genvdp_use_cram = 1;
1309   genesis_other_hacks = 1;
1307   m_other_hacks = 1;
13101308
13111309   megadriv_init_common();
13121310   megadriv_framerate = 60;
r22019r22020
13151313DRIVER_INIT_MEMBER(md_base_state,megadrij)
13161314{
13171315   genvdp_use_cram = 1;
1318   genesis_other_hacks = 1;
1316   m_other_hacks = 1;
13191317
13201318   megadriv_init_common();
13211319   megadriv_framerate = 60;
r22019r22020
13241322DRIVER_INIT_MEMBER(md_base_state,megadrie)
13251323{
13261324   genvdp_use_cram = 1;
1327   genesis_other_hacks = 1;
1325   m_other_hacks = 1;
13281326
13291327   megadriv_init_common();
13301328   megadriv_framerate = 50;
trunk/src/mame/includes/megadriv.h
r22019r22020
102102   optional_device<sega_segacd_device> m_segacd;
103103   optional_shared_ptr<UINT16> m_megadrive_ram;
104104
105   int m_other_hacks;   // misc hacks
105106   genesis_z80_vars m_genz80;
106107
107108   DECLARE_DRIVER_INIT(megadriv_c2);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team