From: gameblabla Date: Fri, 29 Oct 2021 20:22:25 +0000 (+0000) Subject: Remove CdlGetlocP hack. (#235) X-Git-Tag: r23~107 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981752f84063a77f456e494dc298808ec14611a9;p=pcsx_rearmed.git Remove CdlGetlocP hack. (#235) This was added back in 2013 or so in PCSX Rearmed and according to some tests against Tomb Raider 1 (which is affected by the GetLocP code), it works properly without this hack. So let's just remove it as we are now doing it properly. (Besides, Duckstation and mednafen don't have this hack) --- diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 016b9939..753c5126 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -841,9 +841,6 @@ void cdrInterrupt() { case CdlGetlocP: SetResultSize(8); memcpy(&cdr.Result, &cdr.subq, 8); - - if (!cdr.Play && !cdr.Reading) - cdr.Result[1] = 0; // HACK? break; case CdlReadT: // SetSession?