X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fcdrom.c;h=84b05a4196be63b39a2a41470c67b59ae047e74b;hb=0c49c8ae1e4b96792f77aa2868c4865b172d7b42;hp=2b30e89d43524af5281d785992ace5ddb9865096;hpb=d9a0249331e3f0da8820e158baaafa69e3a534ac;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 2b30e89d..84b05a41 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1018,7 +1018,8 @@ void cdrInterrupt(void) { } cdr.Result[0] |= (cdr.Result[1] >> 4) & 0x08; - strncpy((char *)&cdr.Result[4], "PCSX", 4); + /* This adds the string "PCSX" in Playstation bios boot screen */ + memcpy((char *)&cdr.Result[4], "PCSX", 4); cdr.Stat = Complete; break; @@ -1070,15 +1071,6 @@ void cdrInterrupt(void) { // - fixes new game ReadTrack(cdr.SetSectorPlay); - - // Crusaders of Might and Magic - update getlocl now - // - fixes cutscene speech - { - u8 *buf = CDR_getBuffer(); - if (buf != NULL) - memcpy(cdr.Transfer, buf, 8); - } - /* Duke Nukem: Land of the Babes - seek then delay read for one frame - fixes cutscenes