summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/cxhumax.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/cxhumax.c')
-rw-r--r--src/mess/drivers/cxhumax.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/cxhumax.c b/src/mess/drivers/cxhumax.c
index 130e2979584..229ba779920 100644
--- a/src/mess/drivers/cxhumax.c
+++ b/src/mess/drivers/cxhumax.c
@@ -154,12 +154,12 @@ READ32_MEMBER( cxhumax_state::cx_scratch_r )
//we're in disabled debug_printf
unsigned char* buf = (unsigned char *)alloca(200);
unsigned char temp;
- address_space *program = m_maincpu->space(AS_PROGRAM);
+ address_space &program = m_maincpu->space(AS_PROGRAM);
memset(buf,0,200);
int i = 0;
- while ((temp=program->read_byte(m_maincpu->state_int(ARM7_R0)+i))) {
+ while ((temp=program.read_byte(m_maincpu->state_int(ARM7_R0)+i))) {
buf[i++]=temp;
//m_terminal->write(space, 0, temp);
}