summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/hp48.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-10 11:31:17 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-10 11:31:17 +0000
commit10d146a6be20998acfca4e5533c8fe35f50ada9e (patch)
tree963d8ffd698ed08017935ac958a333e7b8a20290 /src/mess/machine/hp48.c
parenta77e9c9f62b001c1519f8a3262524c5347f78f36 (diff)
changed machine().device("maincpu") with m_maincpu in mess tree part (nw)
Diffstat (limited to 'src/mess/machine/hp48.c')
-rw-r--r--src/mess/machine/hp48.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/hp48.c b/src/mess/machine/hp48.c
index 03d4f913edb..c88e7c68654 100644
--- a/src/mess/machine/hp48.c
+++ b/src/mess/machine/hp48.c
@@ -697,7 +697,7 @@ void hp48_state::hp48_apply_modules()
{
int i;
int nce2_enable = 1;
- address_space& space = machine().device("maincpu")->memory().space(AS_PROGRAM);
+ address_space& space = m_maincpu->space(AS_PROGRAM);
m_io_addr = 0x100000;