From: gameblabla Date: Thu, 26 Aug 2021 18:04:19 +0000 (+0000) Subject: Fix CdlGetTD according to Mednafen's implementation. (#204) X-Git-Tag: r23~126 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfeb7cab2ce1083d54e46a102ab02f680615064d;p=pcsx_rearmed.git Fix CdlGetTD according to Mednafen's implementation. (#204) --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 69801011..5a596adc 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -815,7 +815,9 @@ void cdrInterrupt() { cdr.Result[0] = cdr.StatP; cdr.Result[1] = itob(cdr.ResultTD[2]); cdr.Result[2] = itob(cdr.ResultTD[1]); - cdr.Result[3] = itob(cdr.ResultTD[0]); + /* According to Nocash's documentation, the function doesn't care about ff. + * This can be seen also in Mednafen's implementation. */ + //cdr.Result[3] = itob(cdr.ResultTD[0]); } break;