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";
|
||||
AssemblerSettings settings;
|
||||
memset(&settings, 0, sizeof(settings));
|
||||
settings.pc = 0;
|
||||
// settings.decode_registers = false;
|
||||
// settings.decode_names = false;
|
||||
settings.print_tabs = false;
|
||||
settings.ext_separator = '\'';
|
||||
settings.buffer = 0;
|
||||
|
||||
if (!File::WriteStringToFile(true, text, fname))
|
||||
return false;
|
||||
|
|
|
@ -36,7 +36,8 @@ struct AssemblerSettings
|
|||
show_pc(false),
|
||||
decode_names(true),
|
||||
decode_registers(true),
|
||||
ext_separator('\'')
|
||||
ext_separator('\''),
|
||||
pc(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -45,13 +46,9 @@ struct AssemblerSettings
|
|||
bool show_pc;
|
||||
bool decode_names;
|
||||
bool decode_registers;
|
||||
bool lower_case_ops;
|
||||
char ext_separator;
|
||||
|
||||
u16 *binbuf;
|
||||
u16 pc;
|
||||
char* buffer;
|
||||
u16 buffer_size;
|
||||
};
|
||||
|
||||
class DSPDisassembler
|
||||
|
|
|
@ -189,7 +189,6 @@ void DSPDebuggerLLE::RebuildDisAsmListView()
|
|||
m_Disasm->Freeze();
|
||||
m_Disasm->DeleteAllItems();
|
||||
|
||||
char Buffer[256];
|
||||
AssemblerSettings settings;
|
||||
|
||||
const u16 *binbuf;
|
||||
|
@ -198,8 +197,6 @@ void DSPDebuggerLLE::RebuildDisAsmListView()
|
|||
else
|
||||
binbuf = g_dsp.iram;
|
||||
|
||||
settings.buffer = Buffer;
|
||||
settings.buffer_size = 256;
|
||||
settings.ext_separator = (char)0xff;
|
||||
|
||||
settings.show_pc = false;
|
||||
|
|
|
@ -61,7 +61,6 @@ bool DisasmUCodeDump(u32 crc)
|
|||
if (t != NULL)
|
||||
{
|
||||
AssemblerSettings settings;
|
||||
memset(&settings, 0, sizeof(settings));
|
||||
settings.show_hex = true;
|
||||
settings.show_pc = true;
|
||||
settings.ext_separator = '\t';
|
||||
|
|
Loading…
Reference in New Issue