diff options
Diffstat (limited to 'src/devices/cpu/unsp/unsp.h')
-rw-r--r-- | src/devices/cpu/unsp/unsp.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/cpu/unsp/unsp.h b/src/devices/cpu/unsp/unsp.h index b5f77d239db..c55daf885c7 100644 --- a/src/devices/cpu/unsp/unsp.h +++ b/src/devices/cpu/unsp/unsp.h @@ -209,14 +209,14 @@ protected: internal_unsp_state* m_core; protected: - uint16_t read16(uint32_t address) { return m_program->read_word(address); } + uint16_t read16(uint32_t address) { return m_program.read_word(address); } void write16(uint32_t address, uint16_t data) { #if UNSP_LOG_REGS log_write(address, data); #endif - m_program->write_word(address, data); + m_program.write_word(address, data); } void add_lpc(const int32_t offset) @@ -287,9 +287,8 @@ private: address_space_config m_program_config; - address_space *m_program; - std::function<u16 (offs_t)> m_pr16; - std::function<const void * (offs_t)> m_prptr; + memory_access<23, 2, -1, ENDIANNESS_BIG>::cache m_cache; + memory_access<23, 2, -1, ENDIANNESS_BIG>::specific m_program; uint32_t m_debugger_temp; #if UNSP_LOG_OPCODES || UNSP_LOG_REGS @@ -300,7 +299,7 @@ private: inline void trigger_irq(int line); void check_irqs(); - drc_cache m_cache; + drc_cache m_drccache; std::unique_ptr<drcuml_state> m_drcuml; std::unique_ptr<unsp_frontend> m_drcfe; uint32_t m_drcoptions; |