(MESS) gba.c: Another small tagmap cleanup (nw)

This commit is contained in:
Wilbert Pol 2013-02-08 22:30:00 +00:00
parent 8ef69c8d4c
commit 7cbc98fb7f
2 changed files with 3 additions and 1 deletions

View File

@ -1907,7 +1907,7 @@ WRITE32_MEMBER(gba_state::gba_oam_w)
READ32_MEMBER(gba_state::gba_bios_r)
{
UINT32 *rom = (UINT32 *)(*machine().root_device().memregion("maincpu"));
UINT32 *rom = (UINT32 *)(*m_region_maincpu);
if (m_bios_protected != 0)
{
offset = (m_bios_last_address + 8) / 4;

View File

@ -148,6 +148,7 @@ public:
m_lbdac(*this, "direct_b_left"),
m_rbdac(*this, "direct_b_right"),
m_gbsound(*this, "custom"),
m_region_maincpu(*this, "maincpu"),
m_io_in0(*this, "IN0")
{ }
@ -283,6 +284,7 @@ public:
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(gba_cart);
protected:
required_memory_region m_region_maincpu;
required_ioport m_io_in0;
};