diff options
author | 2018-05-13 15:22:22 +0200 | |
---|---|---|
committer | 2018-05-13 22:22:22 +0900 | |
commit | 5cc2319a2e286735981cb62781e65169ff936a52 (patch) | |
tree | 9465116c1856e052635215df0b98e400cc8bd020 /src/mame/drivers/cortex.cpp | |
parent | 49803e7418beefbd912d0090884063422888891d (diff) |
Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS explicit. (#3565)
* -Removed DRIVER_INIT macros in favor of explicitly-named member functions, nw
* -Removed DRIVER_INIT_related macros. Made init_ prefix on driver initializers explicit. Renamed init_0 to empty_init. Fixed up GAME/COMP/CONS macro spacing. [Ryan Holtz]
* Missed some files, nw
* Fix compile, (nw)
Diffstat (limited to 'src/mame/drivers/cortex.cpp')
-rw-r--r-- | src/mame/drivers/cortex.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/cortex.cpp b/src/mame/drivers/cortex.cpp index 499c4cdf071..d583c1b5d46 100644 --- a/src/mame/drivers/cortex.cpp +++ b/src/mame/drivers/cortex.cpp @@ -70,7 +70,7 @@ public: DECLARE_WRITE_LINE_MEMBER(vdp_int_w); DECLARE_READ8_MEMBER(pio_r); DECLARE_READ8_MEMBER(keyboard_r); - DECLARE_DRIVER_INIT(init); + void init_init(); void cortex(machine_config &config); void io_map(address_map &map); @@ -170,7 +170,7 @@ void cortex_state::machine_reset() m_maincpu->reset_line(ASSERT_LINE); } -DRIVER_INIT_MEMBER( cortex_state, init ) +void cortex_state::init_init() { uint8_t *main = memregion("maincpu")->base(); @@ -229,5 +229,5 @@ ROM_END /* Driver */ -// YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS -COMP( 1982, cortex, 0, 0, cortex, cortex, cortex_state, init, "Powertran Cybernetics", "Cortex", MACHINE_NOT_WORKING ) +// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS +COMP( 1982, cortex, 0, 0, cortex, cortex, cortex_state, init_init, "Powertran Cybernetics", "Cortex", MACHINE_NOT_WORKING ) |