mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
4d9e07b311
commit
636ce9fc1d
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue