DSP asm/disasm: Lots of cleanup, mostly. I may have broken the DSP debugger a bit. will fix it properly later..

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2968 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-04-14 20:44:03 +00:00
parent 0c65e2fe11
commit d25d6b5f98
10 changed files with 1227 additions and 1219 deletions

View file

@ -60,15 +60,15 @@ bool DisasmUCodeDump(u32 crc)
FILE* t = fopen(txtFile, "wb");
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;
DSPDisassembler disasm;
disasm.gd_dis_file(&gdg, binFile, t);
AssemblerSettings settings;
memset(&settings, 0, sizeof(settings));
settings.show_hex = true;
settings.show_pc = true;
settings.ext_separator = '\t';
settings.decode_names = true;
settings.decode_registers = true;
DSPDisassembler disasm(settings);
disasm.gd_dis_file(binFile, t);
fclose(t);
return true;
}