Zelda HLE: Add support for the ZTP Wii UCode.

This commit is contained in:
Pierre Bourdon 2014-12-27 20:33:34 +01:00
parent 5f61ab3e21
commit cdb1022696
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ UCodeInterface* UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii)
case 0x4be6a5cb: // Pikmin 1 GC - US
case 0x42f64ac4: // Luigi's Mansion - US
case 0x56d36052: // Super Mario Sunshine - US
case 0x6c3f6f94: // Zelda TP Wii - US
return new ZeldaUCode(dsphle, crc);
case 0x2ea36ce6: // Some Wii demos

View File

@ -67,6 +67,8 @@ static const std::map<u32, u32> UCODE_FLAGS = {
// The Legend of Zelda: Twilight Princess / GC.
// Donkey Kong Jungle Beat.
{ 0x6CA33A6D, MAKE_DOLBY_LOUDER },
// The Legend of Zelda: Twilight Princess / Wii.
{ 0x6C3F6F94, NO_ARAM | MAKE_DOLBY_LOUDER },
// Super Mario Galaxy.
// Super Mario Galaxy 2.
{ 0xD643001F, NO_ARAM | MAKE_DOLBY_LOUDER },
@ -1676,5 +1678,4 @@ void ZeldaAudioRenderer::DoState(PointerWrap& p)
p.Do(m_buf_unk1_reverb_last8);
p.Do(m_buf_front_left_reverb_last8);
p.Do(m_buf_front_right_reverb_last8);
}