psx: patch for "Fantastic Pinball Kyutenkai" lockup, not likely to affect sync but could in principle.

This commit is contained in:
zeromus 2016-06-14 12:54:43 -05:00
parent 9a4dd89f7f
commit 303a6cd956
2 changed files with 7 additions and 3 deletions

Binary file not shown.

View File

@ -951,7 +951,8 @@ void PS_CDC::HandlePlayRead(void)
if((Mode & MODE_REPORT) && (((SubQBuf_Safe[0x9] >> 4) != ReportLastF) || Forward || Backward) && SubQChecksumOK)
{
uint8 tr[8];
#if 0
//zero 14-jun-2016 - useful after all for fixing bugs in "Fantastic Pinball Kyutenkai"
#if 1
uint16 abs_lev_max = 0;
bool abs_lev_chselect = SubQBuf_Safe[0x8] & 0x01;
@ -979,8 +980,11 @@ void PS_CDC::HandlePlayRead(void)
tr[5] = SubQBuf_Safe[0x9]; // A F
}
tr[6] = 0; //abs_lev_max >> 0;
tr[7] = 0; //abs_lev_max >> 8;
//zero 14-jun-2016 - useful after all for fixing bugs in "Fantastic Pinball Kyutenkai"
//tr[6] = 0; //abs_lev_max >> 0;
//tr[7] = 0; //abs_lev_max >> 8;
tr[6] = abs_lev_max >> 0;
tr[7] = abs_lev_max >> 8;
SetAIP(CDCIRQ_DATA_READY, 8, tr);
}