From f7948ce7c91b9b5e879feb4073176eb52e2f2fb4 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 24 Jul 2021 18:22:48 +0100 Subject: [PATCH] DSPHLE: fix Wii System Menu 1.0 ucode --- Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp | 2 +- Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp index 6d4b295621..2a3df476f9 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp @@ -214,7 +214,7 @@ void AXWiiUCode::HandleCommandList() case CMD_OUTPUT: case CMD_OUTPUT_DPL2: - volume = m_cmdlist[curr_idx++]; + volume = m_crc == 0xd9c4bf34 ? 0x8000 : m_cmdlist[curr_idx++]; addr_hi = m_cmdlist[curr_idx++]; addr_lo = m_cmdlist[curr_idx++]; addr2_hi = m_cmdlist[curr_idx++]; diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp index ab9459535e..7af03c0c52 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp @@ -275,7 +275,7 @@ std::unique_ptr UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii) case 0xfa450138: // Wii Sports - PAL case 0xadbc06bd: // Elebits case 0x4cc52064: // Bleach: Versus Crusade - case 0xd9c4bf34: // WiiMenu + case 0xd9c4bf34: // Wii System Menu 1.0 case 0x7699af32: // Wii Startup Menu INFO_LOG_FMT(DSPHLE, "CRC {:08x}: Wii - AXWii chosen", crc); return std::make_unique(dsphle, crc);