summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/asteroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/asteroid.h')
-rw-r--r--src/mame/includes/asteroid.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/mame/includes/asteroid.h b/src/mame/includes/asteroid.h
index a19c6a1a7a6..4104def464f 100644
--- a/src/mame/includes/asteroid.h
+++ b/src/mame/includes/asteroid.h
@@ -22,15 +22,11 @@ public:
required_device<cpu_device> m_maincpu;
required_device<dvg_device> m_dvg;
required_device<discrete_device> m_discrete;
-
- /* memory pointers */
- optional_shared_ptr<UINT8> m_ram1;
- optional_shared_ptr<UINT8> m_ram2;
-
- int m_astdelux_bankswitch; // for postload
-
- void astdelux_bankswitch_restore();
-
+
+ /* memory banks */
+ optional_memory_bank m_ram1;
+ optional_memory_bank m_ram2;
+
DECLARE_WRITE8_MEMBER(astdelux_coin_counter_w);
DECLARE_WRITE8_MEMBER(llander_led_w);
DECLARE_READ8_MEMBER(asteroid_IN0_r);
@@ -56,10 +52,9 @@ public:
DECLARE_DRIVER_INIT(asterock);
DECLARE_DRIVER_INIT(asteroidb);
- DECLARE_DRIVER_INIT(astdelux);
-
+
+ virtual void machine_start();
virtual void machine_reset();
- DECLARE_MACHINE_RESET(llander);
};
/*----------- defined in audio/asteroid.c -----------*/