SPU2-X : The safe_delete on the WaveDump wasn't "safe" enough and was causing the error on end of wav dump.

Test it and tell me if it works fine now. (F12 is the key for start-end)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2659 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
feal87 2010-03-02 15:52:03 +00:00
parent d541f28425
commit db616b0690
1 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,9 @@ void RecordStart()
void RecordStop()
{
safe_delete( m_wavrecord );
WavOutFile* t = m_wavrecord;
m_wavrecord = NULL;
delete t;
}
void RecordWrite( const StereoOut16& sample )