mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
d541f28425
commit
db616b0690
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue