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

@ -42,9 +42,7 @@ CDSPHandler::~CDSPHandler()
void CDSPHandler::Update()
{
if (m_pUCode != NULL)
{
m_pUCode->Update();
}
}
unsigned short CDSPHandler::WriteControlRegister(unsigned short _Value)
@ -64,32 +62,29 @@ unsigned short CDSPHandler::WriteControlRegister(unsigned short _Value)
}
m_DSPControl.Hex = Temp.Hex;
return(m_DSPControl.Hex);
return m_DSPControl.Hex;
}
unsigned short CDSPHandler::ReadControlRegister()
{
return(m_DSPControl.Hex);
return m_DSPControl.Hex;
}
void CDSPHandler::SendMailToDSP(u32 _uMail)
{
if (m_pUCode != NULL)
{
m_pUCode->HandleMail(_uMail);
}
}
IUCode* CDSPHandler::GetUCode()
{
return(m_pUCode);
return m_pUCode;
}
void CDSPHandler::SetUCode(u32 _crc)
{
delete m_pUCode;
m_pUCode = NULL;
m_MailHandler.Clear();
m_pUCode = UCodeFactory(_crc, m_MailHandler);
}