diff options
author | hizzlekizzle | 2019-08-03 08:33:29 -0500 |
---|---|---|
committer | GitHub | 2019-08-03 08:33:29 -0500 |
commit | 0c510f87cbd5c7089e66ab09ffb7570073c1f63c (patch) | |
tree | 99b4ed96c372825a41018465bfddf907a48084ad /libpcsxcore/cdrom.c | |
parent | fcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff) | |
parent | e6f1e7f70c3ee3816e417f97aef1501a1f950976 (diff) | |
download | pcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.tar.gz pcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.tar.bz2 pcsx_rearmed-0c510f87cbd5c7089e66ab09ffb7570073c1f63c.zip |
Merge pull request #326 from retro-wertz/silence_warnings
silence warnings and a few core fixes
Diffstat (limited to 'libpcsxcore/cdrom.c')
-rw-r--r-- | libpcsxcore/cdrom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 17d65ab..a65ca54 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -877,7 +877,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; |