diff options
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 |
commit | 50d4146b3ad03e978c0f8e2242c34486ef29d862 (patch) | |
tree | 50d7d27cee92b8dc36b36d59644317b65f8ba79e /src/mame/drivers/eolith.c | |
parent | cd0f5b479b7873ecc81c0e6cd88f8aaa872cdf61 (diff) |
changed machine().device("maincpu") with m_maincpu in mame tree part (nw)
Diffstat (limited to 'src/mame/drivers/eolith.c')
-rw-r--r-- | src/mame/drivers/eolith.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/eolith.c b/src/mame/drivers/eolith.c index 134263c6e30..b48ad5f4781 100644 --- a/src/mame/drivers/eolith.c +++ b/src/mame/drivers/eolith.c @@ -1514,15 +1514,15 @@ DRIVER_INIT_MEMBER(eolith_state,hidctch2) DRIVER_INIT_MEMBER(eolith_state,hidctch3) { - machine().device("maincpu")->memory().space(AS_PROGRAM).nop_write(0xfc200000, 0xfc200003); // this generates pens vibration + m_maincpu->space(AS_PROGRAM).nop_write(0xfc200000, 0xfc200003); // this generates pens vibration // It is not clear why the first reads are needed too - machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xfce00000, 0xfce00003, read32_delegate(FUNC(eolith_state::hidctch3_pen1_r),this)); - machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xfce80000, 0xfce80003, read32_delegate(FUNC(eolith_state::hidctch3_pen1_r),this)); + m_maincpu->space(AS_PROGRAM).install_read_handler(0xfce00000, 0xfce00003, read32_delegate(FUNC(eolith_state::hidctch3_pen1_r),this)); + m_maincpu->space(AS_PROGRAM).install_read_handler(0xfce80000, 0xfce80003, read32_delegate(FUNC(eolith_state::hidctch3_pen1_r),this)); - machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xfcf00000, 0xfcf00003, read32_delegate(FUNC(eolith_state::hidctch3_pen2_r),this)); - machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0xfcf80000, 0xfcf80003, read32_delegate(FUNC(eolith_state::hidctch3_pen2_r),this)); + m_maincpu->space(AS_PROGRAM).install_read_handler(0xfcf00000, 0xfcf00003, read32_delegate(FUNC(eolith_state::hidctch3_pen2_r),this)); + m_maincpu->space(AS_PROGRAM).install_read_handler(0xfcf80000, 0xfcf80003, read32_delegate(FUNC(eolith_state::hidctch3_pen2_r),this)); DRIVER_INIT_CALL(eolith); } |