mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
we already know the cpu, no need to look it up (nw)
This commit is contained in:
parent
f39c565667
commit
46ed6d1ba8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue