summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/neoprint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/neoprint.cpp')
-rw-r--r--src/mame/drivers/neoprint.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/neoprint.cpp b/src/mame/drivers/neoprint.cpp
index cb4bf27ae89..df42daa5a76 100644
--- a/src/mame/drivers/neoprint.cpp
+++ b/src/mame/drivers/neoprint.cpp
@@ -61,10 +61,10 @@ public:
DECLARE_WRITE16_MEMBER(nprsp_palette_w);
DECLARE_WRITE8_MEMBER(nprsp_bank_w);
DECLARE_READ16_MEMBER(rom_window_r);
- DECLARE_DRIVER_INIT(98best44);
- DECLARE_DRIVER_INIT(npcartv1);
- DECLARE_DRIVER_INIT(nprsp);
- DECLARE_DRIVER_INIT(unkneo);
+ void init_98best44();
+ void init_npcartv1();
+ void init_nprsp();
+ void init_unkneo();
DECLARE_MACHINE_RESET(nprsp);
uint32_t screen_update_neoprint(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
uint32_t screen_update_nprsp(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
@@ -657,7 +657,7 @@ ROM_START( nprsp )
ROM_END
/* FIXME: get rid of these two, probably something to do with irq3 and camera / printer devices */
-DRIVER_INIT_MEMBER(neoprint_state,npcartv1)
+void neoprint_state::init_npcartv1()
{
uint16_t *ROM = (uint16_t *)memregion( "maincpu" )->base();
@@ -667,14 +667,14 @@ DRIVER_INIT_MEMBER(neoprint_state,npcartv1)
}
-DRIVER_INIT_MEMBER(neoprint_state,98best44)
+void neoprint_state::init_98best44()
{
uint16_t *ROM = (uint16_t *)memregion( "maincpu" )->base();
ROM[0x1312/2] = 0x4e71;
}
-DRIVER_INIT_MEMBER(neoprint_state,nprsp)
+void neoprint_state::init_nprsp()
{
uint16_t *ROM = (uint16_t *)memregion( "maincpu" )->base();
@@ -686,13 +686,13 @@ DRIVER_INIT_MEMBER(neoprint_state,nprsp)
ROM[0x4834/2] = 0x4e71;
}
-DRIVER_INIT_MEMBER(neoprint_state,unkneo)
+void neoprint_state::init_unkneo()
{
uint16_t *ROM = (uint16_t *)memregion( "maincpu" )->base();
ROM[0x12c2/2] = 0x4e71;
}
-GAME( 1996, neoprint, 0, neoprint, neoprint, neoprint_state, unkneo, ROT0, "SNK", "Neo Print (Japan) (T2d)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
-GAME( 1996, npcartv1, 0, neoprint, neoprint, neoprint_state, npcartv1, ROT0, "SNK", "Neo Print V1 (World) (E1a)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
-GAME( 1998, 98best44, 0, neoprint, neoprint, neoprint_state, 98best44, ROT0, "SNK", "Neo Print - '98 NeoPri Best 44 (Japan) (T4i 3.07)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
-GAME( 1996, nprsp, 0, nprsp, neoprint, neoprint_state, nprsp, ROT0, "SNK", "NeopriSP Retro Collection (Japan)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
+GAME( 1996, neoprint, 0, neoprint, neoprint, neoprint_state, init_unkneo, ROT0, "SNK", "Neo Print (Japan) (T2d)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
+GAME( 1996, npcartv1, 0, neoprint, neoprint, neoprint_state, init_npcartv1, ROT0, "SNK", "Neo Print V1 (World) (E1a)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
+GAME( 1998, 98best44, 0, neoprint, neoprint, neoprint_state, init_98best44, ROT0, "SNK", "Neo Print - '98 NeoPri Best 44 (Japan) (T4i 3.07)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )
+GAME( 1996, nprsp, 0, nprsp, neoprint, neoprint_state, init_nprsp, ROT0, "SNK", "NeopriSP Retro Collection (Japan)", MACHINE_IMPERFECT_SOUND | MACHINE_IMPERFECT_GRAPHICS | MACHINE_NOT_WORKING )