mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
fixed replacing the gpu for coh110 based games
This commit is contained in:
parent
f1dea91333
commit
964a0e7924
@ -17,6 +17,11 @@
|
|||||||
MCFG_PSX_DMA_CHANNEL_READ( cputag, 2, psx_dma_write_delegate( FUNC( psxgpu_device::dma_read ), (psxgpu_device *) device ) ) \
|
MCFG_PSX_DMA_CHANNEL_READ( cputag, 2, psx_dma_write_delegate( FUNC( psxgpu_device::dma_read ), (psxgpu_device *) device ) ) \
|
||||||
MCFG_PSX_DMA_CHANNEL_WRITE( cputag, 2, psx_dma_read_delegate( FUNC( psxgpu_device::dma_write ), (psxgpu_device *) device ) )
|
MCFG_PSX_DMA_CHANNEL_WRITE( cputag, 2, psx_dma_read_delegate( FUNC( psxgpu_device::dma_write ), (psxgpu_device *) device ) )
|
||||||
|
|
||||||
|
#define MCFG_PSXGPU_REPLACE( cputag, tag, type, clock ) \
|
||||||
|
MCFG_DEVICE_REPLACE( tag, type, clock ) \
|
||||||
|
MCFG_PSX_DMA_CHANNEL_READ( cputag, 2, psx_dma_write_delegate( FUNC( psxgpu_device::dma_read ), (psxgpu_device *) device ) ) \
|
||||||
|
MCFG_PSX_DMA_CHANNEL_WRITE( cputag, 2, psx_dma_read_delegate( FUNC( psxgpu_device::dma_write ), (psxgpu_device *) device ) )
|
||||||
|
|
||||||
extern const device_type CXD8514Q;
|
extern const device_type CXD8514Q;
|
||||||
extern const device_type CXD8538Q;
|
extern const device_type CXD8538Q;
|
||||||
extern const device_type CXD8561Q;
|
extern const device_type CXD8561Q;
|
||||||
|
@ -1023,7 +1023,7 @@ static MACHINE_CONFIG_DERIVED( coh110, coh100 )
|
|||||||
MCFG_CPU_PROGRAM_MAP( namcos11_map )
|
MCFG_CPU_PROGRAM_MAP( namcos11_map )
|
||||||
MCFG_CPU_VBLANK_INT("screen", namcos11_vblank)
|
MCFG_CPU_VBLANK_INT("screen", namcos11_vblank)
|
||||||
|
|
||||||
MCFG_DEVICE_REPLACE( "gpu", CXD8561Q, 0 )
|
MCFG_PSXGPU_REPLACE( "maincpu", "gpu", CXD8561Q, 0 )
|
||||||
|
|
||||||
MCFG_SCREEN_MODIFY("screen")
|
MCFG_SCREEN_MODIFY("screen")
|
||||||
MCFG_SCREEN_REFRESH_RATE( 30 )
|
MCFG_SCREEN_REFRESH_RATE( 30 )
|
||||||
|
Loading…
Reference in New Issue
Block a user