Skip to content

Commit

Permalink
Remove CdlGetlocP hack. (libretro#235)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
gameblabla authored Oct 29, 2021
1 parent 2da09da commit 981752f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libpcsxcore/cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 981752f

Please sign in to comment.