SPU2-X: Fix old crash on state load if logging is enabled. (It's appalling that this is in the state though.)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5417 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
sudonim1@gmail.com 2012-09-21 13:39:57 +00:00
parent 4d9e07b311
commit 636ce9fc1d
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ void DMALogClose()
void V_Core::LogAutoDMA( FILE* fp )
{
if( !DMALog() || !fp ) return;
if( !DMALog() || !fp || !DMAPtr ) return;
fwrite( DMAPtr+InputDataProgress, 0x400, 1, fp );
}