From 998e196d55198c9550e67a93e0dad1e96b0b29ae Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sat, 10 Dec 2016 13:11:40 +0100 Subject: dimemory: Remove the magic bypass [O. Galibert] --- src/emu/dimemory.cpp | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) (limited to 'src/emu/dimemory.cpp') diff --git a/src/emu/dimemory.cpp b/src/emu/dimemory.cpp index e42ad28e9d3..cdb234cde79 100644 --- a/src/emu/dimemory.cpp +++ b/src/emu/dimemory.cpp @@ -181,52 +181,6 @@ bool device_memory_interface::memory_translate(address_spacenum spacenum, int in } -//------------------------------------------------- -// memory_read - perform internal memory -// operations that bypass the memory system; -// designed to be overridden by the actual device -// implementation if internal read operations are -// handled by bypassing the memory system -//------------------------------------------------- - -bool device_memory_interface::memory_read(address_spacenum spacenum, offs_t offset, int size, u64 &value) -{ - // by default, we don't do anything - return false; -} - - -//------------------------------------------------- -// memory_write - perform internal memory -// operations that bypass the memory system; -// designed to be overridden by the actual device -// implementation if internal write operations are -// handled by bypassing the memory system -//------------------------------------------------- - -bool device_memory_interface::memory_write(address_spacenum spacenum, offs_t offset, int size, u64 value) -{ - // by default, we don't do anything - return false; -} - - -//------------------------------------------------- -// memory_readop - perform internal memory -// operations that bypass the memory system; -// designed to be overridden by the actual device -// implementation if internal opcode fetching -// operations are handled by bypassing the memory -// system -//------------------------------------------------- - -bool device_memory_interface::memory_readop(offs_t offset, int size, u64 &value) -{ - // by default, we don't do anything - return false; -} - - //------------------------------------------------- // interface_validity_check - perform validity // checks on the memory configuration -- cgit v1.2.3-70-g09d2