summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/i386.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i386/i386.cpp')
-rw-r--r--src/devices/cpu/i386/i386.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386.cpp b/src/devices/cpu/i386/i386.cpp
index 0d42c78ac26..e8fdf6a12ea 100644
--- a/src/devices/cpu/i386/i386.cpp
+++ b/src/devices/cpu/i386/i386.cpp
@@ -1937,9 +1937,9 @@ void i386_device::i386_common_init()
m_program = &space(AS_PROGRAM);
if(m_program->data_width() == 16) {
// for the 386sx
- macache16 = m_program->cache<1, 0, ENDIANNESS_LITTLE>();
+ m_program->cache(macache16);
} else {
- macache32 = m_program->cache<2, 0, ENDIANNESS_LITTLE>();
+ m_program->cache(macache32);
}
m_io = &space(AS_IO);