diff options
author | 2013-04-10 11:31:17 +0000 | |
---|---|---|
committer | 2013-04-10 11:31:17 +0000 | |
commit | 10d146a6be20998acfca4e5533c8fe35f50ada9e (patch) | |
tree | 963d8ffd698ed08017935ac958a333e7b8a20290 /src/mess/machine/pc1350.c | |
parent | a77e9c9f62b001c1519f8a3262524c5347f78f36 (diff) |
changed machine().device("maincpu") with m_maincpu in mess tree part (nw)
Diffstat (limited to 'src/mess/machine/pc1350.c')
-rw-r--r-- | src/mess/machine/pc1350.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/pc1350.c b/src/mess/machine/pc1350.c index 391f3d3590f..527e2e01e00 100644 --- a/src/mess/machine/pc1350.c +++ b/src/mess/machine/pc1350.c @@ -90,7 +90,7 @@ TIMER_CALLBACK_MEMBER(pc1350_state::pc1350_power_up) void pc1350_state::machine_start() { - address_space &space = machine().device("maincpu")->memory().space(AS_PROGRAM); + address_space &space = m_maincpu->space(AS_PROGRAM); m_power = 1; machine().scheduler().timer_set(attotime::from_seconds(1), timer_expired_delegate(FUNC(pc1350_state::pc1350_power_up),this)); @@ -118,7 +118,7 @@ void pc1350_state::machine_start() space.nop_readwrite(0x2000, 0x3fff); } - device_t *main_cpu = machine().device("maincpu"); + device_t *main_cpu = m_maincpu; UINT8 *ram = machine().root_device().memregion("maincpu")->base() + 0x2000; UINT8 *cpu = sc61860_internal_ram(main_cpu); |