From d0ea0d8aac524732bddf244f73e57ade28a442c5 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 3 Sep 2022 01:54:28 +0300 Subject: [PATCH] cdrom: take a minor change from libretro --- libpcsxcore/cdrom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.2