From 51e93754b56afc2895f81f5be1c8fd21a1928944 Mon Sep 17 00:00:00 2001 From: Angelo Salese Date: Wed, 13 Feb 2013 04:46:45 +0000 Subject: [PATCH] Actually 0x62 doesn't need this --- src/emu/machine/stvcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emu/machine/stvcd.c b/src/emu/machine/stvcd.c index 97ea43e9013..89f3b61b416 100644 --- a/src/emu/machine/stvcd.c +++ b/src/emu/machine/stvcd.c @@ -958,9 +958,10 @@ void saturn_state::cd_exec_command( void ) return; } - if (partitions[bufnum].numblks < sectnum) + /* TODO: Phantasy Star 2 throws this one. */ + if (partitions[bufnum].numblks == 0) { - printf("CD: buffer is not full %08x %08x\n",partitions[bufnum].numblks,sectnum); + printf("CD: buffer is already empty\n"); cr_standard_return(CD_STAT_REJECT); hirqreg |= (CMOK|EHST); return;