From: gameblabla Date: Sat, 25 Sep 2021 13:32:27 +0000 (+0200) Subject: Fix CdlGetTD according to Mednafen's implementation. X-Git-Tag: r24l~559^2~1 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2c864ccd46aa49ae166d7ff292fa59248265634;hp=95465b976c88587fba20a8c6877a0bc1f476f276;p=pcsx_rearmed.git Fix CdlGetTD according to Mednafen's implementation. --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index eaae938a..edd6c045 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -820,7 +820,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;