From 46ed6d1ba8862d34b33c6d85abed9fe40910d1c0 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 27 Aug 2013 11:13:49 +0000 Subject: [PATCH] we already know the cpu, no need to look it up (nw) --- src/mame/drivers/zn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/drivers/zn.c b/src/mame/drivers/zn.c index bfe1daf6d8f..e29edff44ba 100644 --- a/src/mame/drivers/zn.c +++ b/src/mame/drivers/zn.c @@ -1346,7 +1346,7 @@ void zn_state::atpsx_dma_read( UINT32 *p_n_psxram, UINT32 n_address, INT32 n_siz return; } - address_space &space = machine().firstcpu->space(AS_PROGRAM); + address_space &space = m_maincpu->space(AS_PROGRAM); /* dma size is in 32-bit words, convert to words */ n_size <<= 1;