DSPHLE: fix Wii System Menu 1.0 ucode

This commit is contained in:
Tillmann Karras 2021-07-24 18:22:48 +01:00
parent b1185fb239
commit f7948ce7c9
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ void AXWiiUCode::HandleCommandList()
case CMD_OUTPUT: case CMD_OUTPUT:
case CMD_OUTPUT_DPL2: 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_hi = m_cmdlist[curr_idx++];
addr_lo = m_cmdlist[curr_idx++]; addr_lo = m_cmdlist[curr_idx++];
addr2_hi = m_cmdlist[curr_idx++]; addr2_hi = m_cmdlist[curr_idx++];

View File

@ -275,7 +275,7 @@ std::unique_ptr<UCodeInterface> UCodeFactory(u32 crc, DSPHLE* dsphle, bool wii)
case 0xfa450138: // Wii Sports - PAL case 0xfa450138: // Wii Sports - PAL
case 0xadbc06bd: // Elebits case 0xadbc06bd: // Elebits
case 0x4cc52064: // Bleach: Versus Crusade case 0x4cc52064: // Bleach: Versus Crusade
case 0xd9c4bf34: // WiiMenu case 0xd9c4bf34: // Wii System Menu 1.0
case 0x7699af32: // Wii Startup Menu case 0x7699af32: // Wii Startup Menu
INFO_LOG_FMT(DSPHLE, "CRC {:08x}: Wii - AXWii chosen", crc); INFO_LOG_FMT(DSPHLE, "CRC {:08x}: Wii - AXWii chosen", crc);
return std::make_unique<AXWiiUCode>(dsphle, crc); return std::make_unique<AXWiiUCode>(dsphle, crc);