From: notaz Date: Fri, 2 Sep 2022 22:54:28 +0000 (+0300) Subject: cdrom: take a minor change from libretro X-Git-Tag: r24~332 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ea0d8aac524732bddf244f73e57ade28a442c5;p=pcsx_rearmed.git cdrom: take a minor change from libretro --- 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;