diff options
Diffstat (limited to 'src/mame/machine/gb.cpp')
-rw-r--r-- | src/mame/machine/gb.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/machine/gb.cpp b/src/mame/machine/gb.cpp index 2eccae21663..5c4ff891b7a 100644 --- a/src/mame/machine/gb.cpp +++ b/src/mame/machine/gb.cpp @@ -174,7 +174,7 @@ void gb_state::machine_start() save_gb_base(); } -void gb_state::machine_start_gbc() +MACHINE_START_MEMBER(gb_state,gbc) { for (int i = 0; i < 8; i++) m_gbc_rammap[i] = m_ram->pointer() + CGB_START_RAM_BANKS + i * 0x1000; @@ -184,7 +184,7 @@ void gb_state::machine_start_gbc() } -void gb_state::machine_start_sgb() +MACHINE_START_MEMBER(gb_state,sgb) { m_sgb_packets = -1; @@ -200,7 +200,7 @@ void gb_state::machine_reset() m_bios_disable = false; } -void gb_state::machine_reset_gbc() +MACHINE_RESET_MEMBER(gb_state,gbc) { gb_init(); @@ -213,7 +213,7 @@ void gb_state::machine_reset_gbc() memset(elem, 0, 0x1000); } -void gb_state::machine_reset_sgb() +MACHINE_RESET_MEMBER(gb_state,sgb) { gb_init(); @@ -663,12 +663,12 @@ READ8_MEMBER(gb_state::gbc_io2_r) ****************************************************************************/ -void megaduck_state::machine_start_megaduck() +MACHINE_START_MEMBER(megaduck_state,megaduck) { save_gb_base(); } -void megaduck_state::machine_reset_megaduck() +MACHINE_RESET_MEMBER(megaduck_state,megaduck) { /* We may have to add some more stuff here, if not then it can be merged back into gb */ gb_init(); |