diff options
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 142c1e2..c82b6da 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1216,7 +1216,8 @@ void cdrInterrupt() { // - fixes cutscene speech { u8 *buf = CDR_getBuffer(); - memcpy(cdr.Transfer, buf, 8); + if (buf != NULL) + memcpy(cdr.Transfer, buf, 8); } |