Attempt to fix CEF bit reset behaviour, fixes Virtual On 3d gfxs

This commit is contained in:
Angelo Salese 2013-03-13 03:58:49 +00:00
parent 6e5582b65a
commit 0b4cde516c

View File

@ -2072,8 +2072,12 @@ void saturn_state::video_update_vdp1( void )
switch(STV_VDP1_PTM & 3) switch(STV_VDP1_PTM & 3)
{ {
case 0:/*Idle Mode*/ case 0:/*Idle Mode*/
/*Set CEF bit to 0*/
CEF_0;
break; break;
case 1:/*Draw by request*/ case 1:/*Draw by request*/
/*Set CEF bit to 0*/
CEF_0;
break; break;
case 2:/*Automatic Draw*/ case 2:/*Automatic Draw*/
if ( framebuffer_changed || VDP1_LOG ) if ( framebuffer_changed || VDP1_LOG )