diff options
Diffstat (limited to 'src/mame/drivers/nes_vt.cpp')
-rw-r--r-- | src/mame/drivers/nes_vt.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/nes_vt.cpp b/src/mame/drivers/nes_vt.cpp index 53adb56bfec..9f208ad3806 100644 --- a/src/mame/drivers/nes_vt.cpp +++ b/src/mame/drivers/nes_vt.cpp @@ -111,6 +111,9 @@ public: DECLARE_READ8_MEMBER(spr_r); DECLARE_READ8_MEMBER(chr_r); + void nes_vt(machine_config &config); + void nes_vt_xx(machine_config &config); + void nes_vt_hh(machine_config &config); private: /* expansion nametable - todo, see if we can refactor NES code to be reusable without having to add full NES bus etc. */ @@ -880,7 +883,7 @@ static GFXDECODE_START( vt03_helper ) GFXDECODE_END -static MACHINE_CONFIG_START( nes_vt ) +MACHINE_CONFIG_START(nes_vt_state::nes_vt) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", M6502, NTSC_APU_CLOCK) // selectable speed? MCFG_CPU_PROGRAM_MAP(nes_vt_map) @@ -930,13 +933,13 @@ static MACHINE_CONFIG_START( nes_vt ) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) MACHINE_CONFIG_END -static MACHINE_CONFIG_DERIVED( nes_vt_xx, nes_vt ) +MACHINE_CONFIG_DERIVED(nes_vt_state::nes_vt_xx, nes_vt) MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(nes_vt_xx_map) MACHINE_CONFIG_END // New mystery handheld architecture, VTxx derived -static MACHINE_CONFIG_DERIVED( nes_vt_hh, nes_vt_xx ) +MACHINE_CONFIG_DERIVED(nes_vt_state::nes_vt_hh, nes_vt_xx) MCFG_CPU_MODIFY("maincpu") MCFG_CPU_PROGRAM_MAP(nes_vt_hh_map) MCFG_PPU_VT03_MODIFY("ppu") |