summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/exidy.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:35:09 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-10 09:35:09 +0000
commit50d4146b3ad03e978c0f8e2242c34486ef29d862 (patch)
tree50d7d27cee92b8dc36b36d59644317b65f8ba79e /src/mame/drivers/exidy.c
parentcd0f5b479b7873ecc81c0e6cd88f8aaa872cdf61 (diff)
changed machine().device("maincpu") with m_maincpu in mame tree part (nw)
Diffstat (limited to 'src/mame/drivers/exidy.c')
-rw-r--r--src/mame/drivers/exidy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/exidy.c b/src/mame/drivers/exidy.c
index 33c269bc048..79328628ced 100644
--- a/src/mame/drivers/exidy.c
+++ b/src/mame/drivers/exidy.c
@@ -1482,7 +1482,7 @@ DRIVER_INIT_MEMBER(exidy_state,phantoma)
m_color_latch[0] = 0x09;
/* the ROM is actually mapped high */
- machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_bank(0xf800, 0xffff, "bank1");
+ m_maincpu->space(AS_PROGRAM).install_read_bank(0xf800, 0xffff, "bank1");
membank("bank1")->set_base(memregion("maincpu")->base() + 0xf800);
}
@@ -1513,7 +1513,7 @@ DRIVER_INIT_MEMBER(exidy_state,pepper2)
DRIVER_INIT_MEMBER(exidy_state,fax)
{
- address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM);
+ address_space &space = m_maincpu->space(AS_PROGRAM);
exidy_video_config(0x04, 0x04, TRUE);