diff options
Diffstat (limited to 'src/mess/drivers/gba.c')
-rw-r--r-- | src/mess/drivers/gba.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mess/drivers/gba.c b/src/mess/drivers/gba.c index 19730b8e153..17a5012f2a4 100644 --- a/src/mess/drivers/gba.c +++ b/src/mess/drivers/gba.c @@ -1920,7 +1920,7 @@ static ADDRESS_MAP_START( gba_map, AS_PROGRAM, 32, gba_state ) AM_RANGE(0x05000000, 0x050003ff) AM_RAM_WRITE(gba_pram_w) AM_SHARE("gba_pram") // Palette RAM AM_RANGE(0x06000000, 0x06017fff) AM_RAM_WRITE(gba_vram_w) AM_SHARE("gba_vram") // VRAM AM_RANGE(0x07000000, 0x070003ff) AM_RAM_WRITE(gba_oam_w) AM_SHARE("gba_oam") // OAM - //AM_RANGE(0x08000000, 0x0cffffff) // cart ROM + mirrors, mapped here at machine_start if a cart is present + //AM_RANGE(0x08000000, 0x0cffffff) // cart ROM + mirrors, mapped here at machine_start if a cart is present AM_RANGE(0x10000000, 0xffffffff) AM_READ(gba_10000000_r) // for "Justice League Chronicles" (game bug) ADDRESS_MAP_END @@ -2117,7 +2117,7 @@ void gba_state::machine_start() /* and an IRQ handling timer */ m_irq_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gba_state::handle_irq),this)); m_irq_timer->adjust(attotime::never); - + // install the cart ROM into the address map, if present m_cartslot->install_rom(); @@ -2144,7 +2144,7 @@ void gba_state::machine_start() m_maincpu->space(AS_PROGRAM).install_read_handler(0xe000000, 0xe01ffff, read32_delegate(FUNC(gba_cart_slot_device::read_ram),(gba_cart_slot_device*)m_cartslot)); m_maincpu->space(AS_PROGRAM).install_write_handler(0xe000000, 0xe01ffff, write32_delegate(FUNC(gba_cart_slot_device::write_ram),(gba_cart_slot_device*)m_cartslot)); } - + save_item(NAME(m_DISPSTAT)); save_item(NAME(m_BG2X)); save_item(NAME(m_BG2Y)); @@ -2241,9 +2241,9 @@ static SLOT_INTERFACE_START(gba_cart) SLOT_INTERFACE_INTERNAL("gba_eeprom", GBA_ROM_EEPROM) SLOT_INTERFACE_INTERNAL("gba_eeprom_4k", GBA_ROM_EEPROM) SLOT_INTERFACE_INTERNAL("gba_eeprom_64k", GBA_ROM_EEPROM64) - SLOT_INTERFACE_INTERNAL("gba_flash", GBA_ROM_FLASH) // Panasonic - SLOT_INTERFACE_INTERNAL("gba_flash_512", GBA_ROM_FLASH) // Panasonic - SLOT_INTERFACE_INTERNAL("gba_flash_1m", GBA_ROM_FLASH1M) // Sanyo + SLOT_INTERFACE_INTERNAL("gba_flash", GBA_ROM_FLASH) // Panasonic + SLOT_INTERFACE_INTERNAL("gba_flash_512", GBA_ROM_FLASH) // Panasonic + SLOT_INTERFACE_INTERNAL("gba_flash_1m", GBA_ROM_FLASH1M) // Sanyo SLOT_INTERFACE_END |