mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Fixed the load-state memory leak, also fixed various other savestate issues. Found (probably) the cause of load-state crashing Dolphin: BPWrites. Tried to put a CriticalSection around BPWritten but it only causes Dolphin to hang when loading a state. Can someone find why it hangs?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3873 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eec7cba0af
commit
3c9b5bbf7b
3 changed files with 62 additions and 43 deletions
|
@ -53,7 +53,8 @@ u16 CMailHandler::ReadDSPMailboxLow()
|
|||
if (!m_Mails.empty())
|
||||
{
|
||||
u16 result = m_Mails.front() & 0xFFFF;
|
||||
m_Mails.pop();
|
||||
|
||||
m_Mails.pop();
|
||||
|
||||
Update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue