summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/a7800.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/a7800.cpp')
-rw-r--r--src/mame/drivers/a7800.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/a7800.cpp b/src/mame/drivers/a7800.cpp
index 9dc01a74f81..cc5f577c26d 100644
--- a/src/mame/drivers/a7800.cpp
+++ b/src/mame/drivers/a7800.cpp
@@ -172,14 +172,14 @@ class a7800_ntsc_state : public a7800_state
{
public:
using a7800_state::a7800_state;
- DECLARE_DRIVER_INIT(a7800_ntsc);
+ void init_a7800_ntsc();
};
class a7800_pal_state : public a7800_state
{
public:
using a7800_state::a7800_state;
- DECLARE_DRIVER_INIT(a7800_pal);
+ void init_a7800_pal();
void a7800_pal(machine_config &config);
protected:
@@ -1463,7 +1463,7 @@ ROM_END
DRIVER INIT
***************************************************************************/
-DRIVER_INIT_MEMBER(a7800_ntsc_state, a7800_ntsc)
+void a7800_ntsc_state::init_a7800_ntsc()
{
m_ispal = false;
m_lines = 263;
@@ -1472,7 +1472,7 @@ DRIVER_INIT_MEMBER(a7800_ntsc_state, a7800_ntsc)
}
-DRIVER_INIT_MEMBER(a7800_pal_state, a7800_pal)
+void a7800_pal_state::init_a7800_pal()
{
m_ispal = true;
m_lines = 313;
@@ -1485,6 +1485,6 @@ DRIVER_INIT_MEMBER(a7800_pal_state, a7800_pal)
GAME DRIVERS
***************************************************************************/
-// YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS
-CONS( 1986, a7800, 0, 0, a7800_ntsc, a7800, a7800_ntsc_state, a7800_ntsc, "Atari", "Atari 7800 (NTSC)", 0 )
-CONS( 1986, a7800p, a7800, 0, a7800_pal, a7800, a7800_pal_state, a7800_pal, "Atari", "Atari 7800 (PAL)", 0 )
+// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
+CONS( 1986, a7800, 0, 0, a7800_ntsc, a7800, a7800_ntsc_state, init_a7800_ntsc, "Atari", "Atari 7800 (NTSC)", 0 )
+CONS( 1986, a7800p, a7800, 0, a7800_pal, a7800, a7800_pal_state, init_a7800_pal, "Atari", "Atari 7800 (PAL)", 0 )