Fixed a minor bug with CD block Put sector, makes Virtual On to enter into gameplay.

This commit is contained in:
Angelo Salese 2013-03-13 03:20:59 +00:00
parent 6de62976cb
commit 059251f001
2 changed files with 6 additions and 4 deletions

View File

@ -1798,6 +1798,7 @@ UINT32 saturn_state::cd_readLong(UINT32 addr)
transpart->size -= xferdnum;
transpart->numblks -= xfersectnum;
/* TODO: is this correct? */
xfertype32 = XFERTYPE32_INVALID;
}
}
@ -1847,12 +1848,13 @@ void saturn_state::cd_writeLong(UINT32 addr, UINT32 data)
}
else // sectors are done
{
xfertype32 = XFERTYPE32_INVALID;
/* Virtual On doesnt want this to be resetted. */
//xfertype32 = XFERTYPE32_INVALID;
}
break;
default:
printf("CD: unhandled 32-bit transfer type write\n");
//printf("CD: unhandled 32-bit transfer type write\n");
break;
}
break;

View File

@ -4440,8 +4440,8 @@ void saturn_state::stv_vdp2_check_tilemap(bitmap_rgb32 &bitmap, const rectangle
/* Bio Hazard 0x400 = extended color calculation enabled */
/* Advanced World War 0x200 = color calculation ratio mode */
/* Whizz = 0x8100 */
//if(STV_VDP2_CCCR & 0xf600)
if(STV_VDP2_CCCR & 0x7000)
/* Dark Saviour = 0x9051 on save select screen (the one with a Saturn in the background) */
if(STV_VDP2_CCCR & 0x6000)
popmessage("Gradation enabled %04x, contact MAMEdev",STV_VDP2_CCCR);
/* Advanced VG, Shining Force III */