mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user