Merge pull request #536 from gameblabla/cdrom_fixes
[pcsx_rearmed.git] / libpcsxcore / cdrom.c
index 16b7ca1..47d45cd 100644 (file)
@@ -888,7 +888,8 @@ void cdrInterrupt() {
                        }
                        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;