Ban compression of Wii images until it has been tested. All sorts of minor cleanup.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@669 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-09-24 19:10:56 +00:00
parent 284e3ec211
commit e4785df7a2
18 changed files with 121 additions and 107 deletions

View file

@ -18,7 +18,9 @@
#include "MailHandler.h"
CMailHandler::CMailHandler()
{}
{
}
CMailHandler::~CMailHandler()
{
@ -38,13 +40,11 @@ u16 CMailHandler::ReadDSPMailboxHigh()
if (!m_Mails.empty())
{
u16 result = (m_Mails.front() >> 16) & 0xFFFF;
Update();
return(result);
return result;
}
return(0x00);
return 0x00;
}
u16 CMailHandler::ReadDSPMailboxLow()
@ -60,20 +60,18 @@ u16 CMailHandler::ReadDSPMailboxLow()
return(result);
}
return(0x00);
return 0x00;
}
void CMailHandler::Clear()
{
while (!m_Mails.empty())
{
m_Mails.pop();
}
}
bool CMailHandler::IsEmpty()
{
return(m_Mails.empty());
return m_Mails.empty();
}
void CMailHandler::Halt(bool _Halt)