DSPHLE: handle Wii Startup Menu ucode correctly

This commit is contained in:
Tillmann Karras 2021-07-24 16:53:25 +01:00
parent 1fa527f44c
commit b1185fb239
3 changed files with 2 additions and 15 deletions

View File

@ -1,14 +0,0 @@
# 1-2 - System Menu (v1, Startup Disc Menu)
[Core]
# Values set here will override the main Dolphin settings.
DSPHLE = False
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.

View File

@ -27,7 +27,7 @@ AXWiiUCode::AXWiiUCode(DSPHLE* dsphle, u32 crc) : AXUCode(dsphle, crc), m_last_m
INFO_LOG_FMT(DSPHLE, "Instantiating AXWiiUCode");
m_old_axwii = (crc == 0xfa450138);
m_old_axwii = (crc == 0xfa450138) || (crc == 0x7699af32);
}
AXWiiUCode::~AXWiiUCode()

View File

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