X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fcdrom.c;h=bc5e2ae78d2fe667da5635ddf1b61a0e5a1de562;hb=d0ea0d8aac524732bddf244f73e57ade28a442c5;hp=2b30e89d43524af5281d785992ace5ddb9865096;hpb=d9a0249331e3f0da8820e158baaafa69e3a534ac;p=pcsx_rearmed.git diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 2b30e89d..bc5e2ae7 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;