summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/dsp32/dsp32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/dsp32/dsp32.cpp')
-rw-r--r--src/devices/cpu/dsp32/dsp32.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/dsp32/dsp32.cpp b/src/devices/cpu/dsp32/dsp32.cpp
index 388484975e9..26310c760ad 100644
--- a/src/devices/cpu/dsp32/dsp32.cpp
+++ b/src/devices/cpu/dsp32/dsp32.cpp
@@ -175,7 +175,7 @@ dsp32c_device::dsp32c_device(const machine_config &mconfig, const char *tag, dev
m_lastpins(0),
m_ppc(0),
m_program(nullptr),
- m_direct(nullptr),
+ m_cache(nullptr),
m_output_pins_changed(*this)
{
// set our instruction counter
@@ -192,7 +192,7 @@ void dsp32c_device::device_start()
// get our address spaces
m_program = &space(AS_PROGRAM);
- m_direct = m_program->direct<0>();
+ m_cache = m_program->cache<2, 0, ENDIANNESS_LITTLE>();
// register our state for the debugger
state_add(STATE_GENPC, "GENPC", m_r[15]).noshow();
@@ -415,7 +415,7 @@ std::unique_ptr<util::disasm_interface> dsp32c_device::create_disassembler()
inline uint32_t dsp32c_device::ROPCODE(offs_t pc)
{
- return m_direct->read_dword(pc);
+ return m_cache->read_dword(pc);
}
inline uint8_t dsp32c_device::RBYTE(offs_t addr)