DSPHLE: Attempt at type 0x21 emulation. Enough for zelda ww intro music to play in a strange choppy way, not enough for it to stop hanging :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3767 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-07-12 19:34:59 +00:00
parent a71b0d455f
commit fe76193641
4 changed files with 124 additions and 128 deletions

View File

@ -102,6 +102,14 @@ CUCode_Zelda::~CUCode_Zelda()
delete [] m_RightBuffer;
}
u8 *CUCode_Zelda::GetARAMPointer(u32 address)
{
if (m_CRC == 0xD643001F) // SMG
return (u8 *)(g_dspInitialize.pGetMemoryPointer(m_DMABaseAddr)) + address;
else
return (u8 *)(g_dspInitialize.pGetARAMPointer()) + address;
}
bool CUCode_Zelda::LuigiStyle() const
{
switch (m_CRC)