cdrom: add CdlGetlocP hack
authornotaz <notasas@gmail.com>
Tue, 25 Jan 2011 21:00:55 +0000 (23:00 +0200)
committernotaz <notasas@gmail.com>
Tue, 25 Jan 2011 23:59:27 +0000 (01:59 +0200)
not sure why it's needed, new code caused problems here
but not in pcsxr-svn.

libpcsxcore/cdrom.c

index fff3160..dbae5bc 100644 (file)
@@ -1583,7 +1583,11 @@ void cdrWrite1(unsigned char rt) {
                //AddIrqQueue(cdr.Cmd, 0x28);
 
                // Tomb Raider 2 - cdda
-               AddIrqQueue(cdr.Cmd, 0x40);
+               //AddIrqQueue(cdr.Cmd, 0x40);
+
+               // rearmed: the above works in pcsxr-svn, but breaks here
+               // (TOCA world touring cars), perhaps some other code is not merged yet
+               AddIrqQueue(cdr.Cmd, 0x1000);
                break;
 
        case CdlGetTN: