diff options
author | 2018-05-11 01:12:28 +0900 | |
---|---|---|
committer | 2018-05-11 18:23:04 +0900 | |
commit | 4c24f25845f129f77829fc6d8e701a0e3762be80 (patch) | |
tree | 9bd0b9d5cf348f95ffa86911b71956fdd7f8b410 /src/devices/cpu/sh/sh_fe.cpp | |
parent | de781d1d84e064956df88bfec929b573d4800789 (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/sh/sh_fe.cpp')
-rw-r--r-- | src/devices/cpu/sh/sh_fe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh_fe.cpp b/src/devices/cpu/sh/sh_fe.cpp index 1abede64dc4..efee8bf506f 100644 --- a/src/devices/cpu/sh/sh_fe.cpp +++ b/src/devices/cpu/sh/sh_fe.cpp @@ -31,7 +31,7 @@ sh_frontend::sh_frontend(sh_common_execution *device, uint32_t window_start, uin inline uint16_t sh_frontend::read_word(opcode_desc &desc) { - return m_sh->m_direct->read_word(desc.physpc, SH2_CODE_XOR(0)); + return m_sh->m_pr16(desc.physpc); } bool sh_frontend::describe(opcode_desc &desc, const opcode_desc *prev) |