From 981752f84063a77f456e494dc298808ec14611a9 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Fri, 29 Oct 2021 20:22:25 +0000 Subject: [PATCH] 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) --- libpcsxcore/cdrom.c | 3 --- 1 file changed, 3 deletions(-) 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? -- 2.39.2