From 70e3ed80fcc6dcd15a4dea2e5f1dece151e4b047 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Mon, 3 Jan 2011 16:26:00 +0000 Subject: hopkat -cdrom-win32 legacy spu crash git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61714 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/cdrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index dde1d50a..efda972a 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -859,7 +859,7 @@ void cdrPlayInterrupt() if (Config.Cdda) memset( cdr.Transfer, 0, CD_FRAMESIZE_RAW ); - if( cdr.Play ) + if( cdr.Play && SPU_playCDDAchannel) SPU_playCDDAchannel((short *)cdr.Transfer, CD_FRAMESIZE_RAW); CDRPLAY_INT( cdReadTime ); -- cgit v1.2.3