From 059251f00107c84e9839aad25de98ec97818d126 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Wed, 13 Mar 2013 03:20:59 +0000 Subject: [PATCH] Fixed a minor bug with CD block Put sector, makes Virtual On to enter into gameplay. --- src/emu/machine/stvcd.c | 6 ++++-- src/emu/video/stvvdp2.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/emu/machine/stvcd.c b/src/emu/machine/stvcd.c index a0731f4f1ee..cca245526d5 100644 --- a/src/emu/machine/stvcd.c +++ b/src/emu/machine/stvcd.c @@ -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; diff --git a/src/emu/video/stvvdp2.c b/src/emu/video/stvvdp2.c index 827b7d41426..ec9aadda1dd 100644 --- a/src/emu/video/stvvdp2.c +++ b/src/emu/video/stvvdp2.c @@ -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 */