diff --git a/src/devices/cpu/tms32051/tms32051.cpp b/src/devices/cpu/tms32051/tms32051.cpp index 816af6dd2e2..5b001568574 100644 --- a/src/devices/cpu/tms32051/tms32051.cpp +++ b/src/devices/cpu/tms32051/tms32051.cpp @@ -631,26 +631,6 @@ WRITE16_MEMBER( tms32051_device::cpuregs_w ) } -bool tms32051_device::memory_read(address_spacenum spacenum, offs_t offset, int size, uint64_t &value) -{ - /* TODO: alignment if offset is odd */ - if (spacenum == AS_PROGRAM) - { - value = (PM_READ16(offset>>1)); - } - else if (spacenum == AS_DATA) - { - value = (DM_READ16(offset>>1)); - } - else if (spacenum == AS_IO) - { - value = m_io->read_word(offset); - } - return 1; -} - - - void tms32053_device::device_reset() { // reset registers diff --git a/src/devices/cpu/tms32051/tms32051.h b/src/devices/cpu/tms32051/tms32051.h index d276ca79101..de3d33e3dc4 100644 --- a/src/devices/cpu/tms32051/tms32051.h +++ b/src/devices/cpu/tms32051/tms32051.h @@ -77,7 +77,6 @@ protected: // device_memory_interface overrides virtual const address_space_config *memory_space_config(address_spacenum spacenum = AS_0) const override { return (spacenum == AS_PROGRAM) ? &m_program_config : ( (spacenum == AS_IO) ? &m_io_config : ( (spacenum == AS_DATA) ? &m_data_config : nullptr ) ); } - virtual bool memory_read(address_spacenum spacenum, offs_t offset, int size, uint64_t &value) override; // device_disasm_interface overrides virtual uint32_t disasm_min_opcode_bytes() const override { return 2; }