This should fix SMG random freeze. Not sure though. Please check.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3596 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
luigi2us
2009-06-29 16:19:06 +00:00
parent 86339310a5
commit e39658df7c
2 changed files with 5 additions and 4 deletions

View File

@ -29,6 +29,7 @@ public:
~CMailHandler();
void PushMail(u32 _Mail);
void PushMail(u32 _Mail, bool _TriggerIRQ);
void Clear();
void Halt(bool _Halt);
bool IsEmpty();
@ -37,6 +38,8 @@ public:
u16 ReadDSPMailboxLow();
void Update();
u32 GetNextMail() { return m_Mails.front(); }
private:
// mail handler
std::queue<u32> m_Mails;