diff options
Diffstat (limited to 'src/devices/cpu/i86/i86.cpp')
-rw-r--r-- | src/devices/cpu/i86/i86.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/i86/i86.cpp b/src/devices/cpu/i86/i86.cpp index f56f5a40045..d578c6f3a2c 100644 --- a/src/devices/cpu/i86/i86.cpp +++ b/src/devices/cpu/i86/i86.cpp @@ -468,7 +468,7 @@ void i8086_common_cpu_device::device_start() { m_program = &space(AS_PROGRAM); m_opcodes = has_space(AS_OPCODES) ? &space(AS_OPCODES) : m_program; - + if(m_opcodes->data_width() == 8) { auto cache = m_opcodes->cache<0, 0, ENDIANNESS_LITTLE>(); m_or8 = [cache](offs_t address) -> u8 { return cache->read_byte(address); }; |