DSPHost: don't try to read old annotated assembly files
They don't exist anymore!
This commit is contained in:
parent
30ccaa3fd5
commit
ed56f319b5
|
@ -66,57 +66,10 @@ void CodeLoaded(const u8* ptr, int size)
|
|||
DSP::DumpDSPCode(ptr, size, g_dsp.iram_crc);
|
||||
}
|
||||
|
||||
Symbols::Clear();
|
||||
|
||||
// Auto load text file - if none just disassemble.
|
||||
|
||||
NOTICE_LOG(DSPLLE, "g_dsp.iram_crc: %08x", g_dsp.iram_crc);
|
||||
|
||||
Symbols::Clear();
|
||||
bool success = false;
|
||||
switch (g_dsp.iram_crc)
|
||||
{
|
||||
case 0x86840740:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_Zelda.txt");
|
||||
break;
|
||||
case 0x42f64ac4:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_Luigi.txt");
|
||||
break;
|
||||
case 0x07f88145:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AX_07F88145.txt");
|
||||
break;
|
||||
case 0x3ad3b7ac:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AX_3AD3B7AC.txt");
|
||||
break;
|
||||
case 0x3daf59b9:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AX_3DAF59B9.txt");
|
||||
break;
|
||||
case 0x4e8a8b21:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AX_4E8A8B21.txt");
|
||||
break;
|
||||
case 0xe2136399:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AX_E2136399.txt");
|
||||
break;
|
||||
case 0xdd7e72d5:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_GBA.txt");
|
||||
break;
|
||||
case 0x347112BA:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_AXWii.txt");
|
||||
break;
|
||||
case 0xD643001F:
|
||||
success = Symbols::ReadAnnotatedAssembly("../../docs/DSP/DSP_UC_SuperMarioGalaxy.txt");
|
||||
break;
|
||||
default:
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!success)
|
||||
{
|
||||
Symbols::AutoDisassembly(0x0, 0x1000);
|
||||
}
|
||||
|
||||
// Always add the ROM.
|
||||
Symbols::AutoDisassembly(0x0, 0x1000);
|
||||
Symbols::AutoDisassembly(0x8000, 0x9000);
|
||||
|
||||
UpdateDebugger();
|
||||
|
|
Loading…
Reference in New Issue