DSPHLE: Try to make zelda ucode savestates safer (sorry, this'll break your current states, as usual).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3788 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-07-13 20:56:49 +00:00
parent 48a5c4211c
commit fda61d91d5
8 changed files with 68 additions and 9 deletions

View File

@ -82,6 +82,7 @@ IUCode* CDSPHandler::GetUCode()
void CDSPHandler::SetUCode(u32 _crc)
{
delete m_pUCode;
m_pUCode = NULL;
m_MailHandler.Clear();
m_pUCode = UCodeFactory(_crc, m_MailHandler);