summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2014-12-27 20:33:34 +0100
committerPierre Bourdon <delroth@gmail.com>2015-08-14 16:01:34 +0200
commitcdb102269600efc8aaddcdebee34d38335882fe9 (patch)
treedb79d431bb88ecc8b3bad9f82d286e546f300c93 /Source/Core
parent5f61ab3e21b4145a4e34679203b93d0f01870055 (diff)
Zelda HLE: Add support for the ZTP Wii UCode.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp1
-rw-r--r--Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp
index f52d03c495..517a6fe190 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp
@@ -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
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
index c301206875..4852143b9b 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp
@@ -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);
-
}