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:
hrydgard 2009-04-14 20:55:27 +00:00
parent d25d6b5f98
commit f9903f2054
4 changed files with 2 additions and 11 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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';