Previous 199869 Revisions Next

r20851 Friday 8th February, 2013 at 22:30:00 UTC by Wilbert Pol
(MESS) gba.c: Another small tagmap cleanup (nw)
[src/mess/drivers]gba.c
[src/mess/includes]gba.h

trunk/src/mess/drivers/gba.c
r20850r20851
19071907
19081908READ32_MEMBER(gba_state::gba_bios_r)
19091909{
1910   UINT32 *rom = (UINT32 *)(*machine().root_device().memregion("maincpu"));
1910   UINT32 *rom = (UINT32 *)(*m_region_maincpu);
19111911   if (m_bios_protected != 0)
19121912   {
19131913      offset = (m_bios_last_address + 8) / 4;
trunk/src/mess/includes/gba.h
r20850r20851
148148      m_lbdac(*this, "direct_b_left"),
149149      m_rbdac(*this, "direct_b_right"),
150150      m_gbsound(*this, "custom"),
151      m_region_maincpu(*this, "maincpu"),
151152      m_io_in0(*this, "IN0")
152153   { }
153154
r20850r20851
283284   DECLARE_DEVICE_IMAGE_LOAD_MEMBER(gba_cart);
284285
285286protected:
287   required_memory_region m_region_maincpu;
286288   required_ioport m_io_in0;
287289};
288290

Previous 199869 Revisions Next


© 1997-2024 The MAME Team