saturn.cpp: fire a VDP1 irq when a sprite illegal opcode is encountered, fixes Sexy Parodius booting [Angelo Salese]

This commit is contained in:
angelosa 2017-09-17 07:22:59 +02:00
parent 669b8bee98
commit 093ae13557

View File

@ -1987,8 +1987,10 @@ void saturn_state::stv_vdp1_process_list( void )
default:
popmessage ("VDP1: Sprite List Illegal %02x, contact MAMEdev",stv2_current_sprite.CMDCTRL & 0xf);
m_vdp1.lopr = (position * 0x20) >> 3;
m_vdp1.copr = (position * 0x20) >> 3;
return;
//m_vdp1.copr = (position * 0x20) >> 3;
// prematurely kill the VDP1 process if an illegal opcode is executed
// Sexy Parodius calls multiple illegals and expects VDP1 irq to be fired anyway!
goto end;
}
}