summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/lh5801/lh5801.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-05-11 01:12:28 +0900
committer Olivier Galibert <galibert@pobox.com>2018-05-11 18:23:04 +0900
commit4c24f25845f129f77829fc6d8e701a0e3762be80 (patch)
tree9bd0b9d5cf348f95ffa86911b71956fdd7f8b410 /src/devices/cpu/lh5801/lh5801.h
parentde781d1d84e064956df88bfec929b573d4800789 (diff)
emumem: Rename direct_read_handler to memory_access_cache. Parametrize the template on more information (data width, endianness) to make it possible to turn it into an handler cache eventually, and not just a memory block cache. Make it capable of large and unaligned accesses. [O. Galibert]
Diffstat (limited to 'src/devices/cpu/lh5801/lh5801.h')
-rw-r--r--src/devices/cpu/lh5801/lh5801.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/lh5801/lh5801.h b/src/devices/cpu/lh5801/lh5801.h
index c8a8b59c3a2..fbdb54a0f31 100644
--- a/src/devices/cpu/lh5801/lh5801.h
+++ b/src/devices/cpu/lh5801/lh5801.h
@@ -103,7 +103,7 @@ private:
address_space *m_program; //ME0
address_space *m_io; //ME1
- direct_read_data<0> *m_direct;
+ memory_access_cache<0, 0, ENDIANNESS_LITTLE> *m_cache;
PAIR m_s;
PAIR m_p;