DSP: Further disasm improvements. Make a few mul ops (only two of which I have seen, both in Zelda) behave like Duddie's doc says they should.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2941 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-04-09 14:33:34 +00:00
parent 0f26228ef2
commit 5166251b2c
6 changed files with 55 additions and 34 deletions

View file

@ -61,6 +61,12 @@ bool DisasmUCodeDump(u32 crc)
if (t != NULL)
{
gd_globals_t gdg;
memset(&gdg, 0, sizeof(gdg));
gdg.show_hex = true;
gdg.show_pc = true;
gdg.ext_separator = '\t';
gdg.decode_names = true;
gdg.decode_registers = true;
gd_dis_file(&gdg, binFile, t);
fclose(t);
return true;
@ -88,7 +94,7 @@ u32 GenerateCRC(const unsigned char* _pBuffer, int _pLength)
CRC = (CRC >> 8) ^ Temp;
}
return(CRC ^ 0xFFFFFFFF);
return CRC ^ 0xFFFFFFFF;
}
// TODO make this useful :p