From 7bf568d972cafb411f455e0b60e59cb7bef257af Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sun, 2 Feb 2014 16:22:48 +0000 Subject: [PATCH] (MESS) apple3: Remove unnecessary opbase handler (nw) --- src/mess/includes/apple3.h | 1 - src/mess/machine/apple3.c | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/src/mess/includes/apple3.h b/src/mess/includes/apple3.h index 98d22c64a99..8c8cd529bd1 100644 --- a/src/mess/includes/apple3.h +++ b/src/mess/includes/apple3.h @@ -65,7 +65,6 @@ public: DECLARE_WRITE8_MEMBER(apple3_indexed_write); UINT8 apple3_profile_r(offs_t offset); void apple3_profile_w(offs_t offset, UINT8 data); - DECLARE_DIRECT_UPDATE_MEMBER(apple3_opbase); DECLARE_DRIVER_INIT(apple3); DECLARE_MACHINE_RESET(apple3); DECLARE_VIDEO_START(apple3); diff --git a/src/mess/machine/apple3.c b/src/mess/machine/apple3.c index 2fe2bdae2d0..bec096e1e39 100644 --- a/src/mess/machine/apple3.c +++ b/src/mess/machine/apple3.c @@ -521,22 +521,6 @@ WRITE8_MEMBER(apple3_state::apple3_indexed_write) } - -DIRECT_UPDATE_MEMBER(apple3_state::apple3_opbase) -{ - UINT8 *opptr; - - if ((address & 0xFF00) == 0x0000) - { - opptr = apple3_get_zpa_addr(address); - direct.explicit_configure(address, address, ~0, opptr - address); - address = ~0; - } - return address; -} - - - static void apple3_update_drives(device_t *device) { apple3_state *state = device->machine().driver_data(); @@ -622,8 +606,6 @@ DRIVER_INIT_MEMBER(apple3_state,apple3) m_via_1->write_pb7(1); apple3_update_memory(); - - m_maincpu->space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(FUNC(apple3_state::apple3_opbase), this)); } READ8_MEMBER(apple3_state::apple3_memory_r)