summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/airraid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/airraid.cpp')
-rw-r--r--src/mame/drivers/airraid.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mame/drivers/airraid.cpp b/src/mame/drivers/airraid.cpp
index e36b7ff2322..65e5de55745 100644
--- a/src/mame/drivers/airraid.cpp
+++ b/src/mame/drivers/airraid.cpp
@@ -59,7 +59,7 @@ Stephh's notes (based on the game Z80 code and some tests) :
- Inputs notes :
- * COINx don't work correcly : see "cshooter_coin_r" read handler.
+ * COINx don't work correctly : see "cshooter_coin_r" read handler.
* In game, bits 3 and 4 of 0xc202 ("START") are tested,
while bits 4 and 5 are tested in the "test mode".
* Pressing STARTx while in game adds lives (depending on the
@@ -159,6 +159,8 @@ Stephh's notes (based on the game Z80 code and some tests) :
#include "speaker.h"
+namespace {
+
class airraid_state : public driver_device
{
public:
@@ -190,7 +192,6 @@ private:
void cshooter_c500_w(uint8_t data);
void cshooter_c700_w(uint8_t data);
void bank_w(uint8_t data);
- DECLARE_MACHINE_RESET(cshooter);
TIMER_DEVICE_CALLBACK_MEMBER(cshooter_scanline);
void airraid_map(address_map &map);
@@ -214,11 +215,6 @@ TIMER_DEVICE_CALLBACK_MEMBER(airraid_state::cshooter_scanline)
m_maincpu->set_input_line_and_vector(0, HOLD_LINE,0xcf); /* Z80 - RST 08h */
}
-
-MACHINE_RESET_MEMBER(airraid_state,cshooter)
-{
-}
-
void airraid_state::cshooter_c500_w(uint8_t data)
{
}
@@ -628,6 +624,9 @@ void airraid_state::init_cshootere()
}
+} // Anonymous namespace
+
+
// There's also an undumped International Games version
GAME( 1987, cshooter, airraid, airraid_crypt, airraid, airraid_state, init_cshootere, ROT270, "Seibu Kaihatsu (J.K.H. license)", "Cross Shooter (Single PCB)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE )
GAME( 1987, airraid, 0, airraid_crypt, airraid, airraid_state, init_cshootere, ROT270, "Seibu Kaihatsu", "Air Raid (Single PCB)", MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )