remove some outdated junk
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2969 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
d25d6b5f98
commit
f9903f2054
|
@ -28,13 +28,11 @@ bool Assemble(const char *text, std::vector<u16> *code)
|
||||||
{
|
{
|
||||||
const char *fname = "tmp.asm";
|
const char *fname = "tmp.asm";
|
||||||
AssemblerSettings settings;
|
AssemblerSettings settings;
|
||||||
memset(&settings, 0, sizeof(settings));
|
|
||||||
settings.pc = 0;
|
settings.pc = 0;
|
||||||
// settings.decode_registers = false;
|
// settings.decode_registers = false;
|
||||||
// settings.decode_names = false;
|
// settings.decode_names = false;
|
||||||
settings.print_tabs = false;
|
settings.print_tabs = false;
|
||||||
settings.ext_separator = '\'';
|
settings.ext_separator = '\'';
|
||||||
settings.buffer = 0;
|
|
||||||
|
|
||||||
if (!File::WriteStringToFile(true, text, fname))
|
if (!File::WriteStringToFile(true, text, fname))
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -36,7 +36,8 @@ struct AssemblerSettings
|
||||||
show_pc(false),
|
show_pc(false),
|
||||||
decode_names(true),
|
decode_names(true),
|
||||||
decode_registers(true),
|
decode_registers(true),
|
||||||
ext_separator('\'')
|
ext_separator('\''),
|
||||||
|
pc(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,13 +46,9 @@ struct AssemblerSettings
|
||||||
bool show_pc;
|
bool show_pc;
|
||||||
bool decode_names;
|
bool decode_names;
|
||||||
bool decode_registers;
|
bool decode_registers;
|
||||||
bool lower_case_ops;
|
|
||||||
char ext_separator;
|
char ext_separator;
|
||||||
|
|
||||||
u16 *binbuf;
|
|
||||||
u16 pc;
|
u16 pc;
|
||||||
char* buffer;
|
|
||||||
u16 buffer_size;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class DSPDisassembler
|
class DSPDisassembler
|
||||||
|
|
|
@ -189,7 +189,6 @@ void DSPDebuggerLLE::RebuildDisAsmListView()
|
||||||
m_Disasm->Freeze();
|
m_Disasm->Freeze();
|
||||||
m_Disasm->DeleteAllItems();
|
m_Disasm->DeleteAllItems();
|
||||||
|
|
||||||
char Buffer[256];
|
|
||||||
AssemblerSettings settings;
|
AssemblerSettings settings;
|
||||||
|
|
||||||
const u16 *binbuf;
|
const u16 *binbuf;
|
||||||
|
@ -198,8 +197,6 @@ void DSPDebuggerLLE::RebuildDisAsmListView()
|
||||||
else
|
else
|
||||||
binbuf = g_dsp.iram;
|
binbuf = g_dsp.iram;
|
||||||
|
|
||||||
settings.buffer = Buffer;
|
|
||||||
settings.buffer_size = 256;
|
|
||||||
settings.ext_separator = (char)0xff;
|
settings.ext_separator = (char)0xff;
|
||||||
|
|
||||||
settings.show_pc = false;
|
settings.show_pc = false;
|
||||||
|
|
|
@ -61,7 +61,6 @@ bool DisasmUCodeDump(u32 crc)
|
||||||
if (t != NULL)
|
if (t != NULL)
|
||||||
{
|
{
|
||||||
AssemblerSettings settings;
|
AssemblerSettings settings;
|
||||||
memset(&settings, 0, sizeof(settings));
|
|
||||||
settings.show_hex = true;
|
settings.show_hex = true;
|
||||||
settings.show_pc = true;
|
settings.show_pc = true;
|
||||||
settings.ext_separator = '\t';
|
settings.ext_separator = '\t';
|
||||||
|
|
Loading…
Reference in New Issue