f8: Use memory_access_cache for register space access (nw)

This commit is contained in:
AJR 2019-11-11 08:34:55 -05:00
parent dfa8f49adc
commit 82e9ccb3a9
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ void f8_cpu_device::device_start()
{
m_program = &space(AS_PROGRAM);
m_cache = m_program->cache<0, 0, ENDIANNESS_BIG>();
m_r = &space(AS_DATA);
m_r = space(AS_DATA).cache<0, 0, ENDIANNESS_BIG>();
m_iospace = &space(AS_IO);
// zerofill

View File

@ -68,7 +68,7 @@ private:
u16 m_irq_vector;
address_space *m_program;
memory_access_cache<0, 0, ENDIANNESS_BIG> *m_cache;
address_space *m_r;
memory_access_cache<0, 0, ENDIANNESS_BIG> *m_r;
address_space *m_iospace;
int m_icount;
int m_irq_request;