DSPDisassembler: directly initialize AssemblerSettings struct members

Same thing, less code.
This commit is contained in:
Lioncash 2017-01-04 12:51:02 -05:00
parent 9f164d7c33
commit 2cfc0dc8b6
1 changed files with 9 additions and 15 deletions

View File

@ -18,22 +18,16 @@ namespace DSP
{
struct AssemblerSettings
{
AssemblerSettings()
: print_tabs(false), show_hex(false), show_pc(false), force(false), decode_names(true),
decode_registers(true), ext_separator('\''), lower_case_ops(true), pc(0)
{
}
bool print_tabs = false;
bool show_hex = false;
bool show_pc = false;
bool force = false;
bool decode_names = true;
bool decode_registers = true;
char ext_separator = '\'';
bool lower_case_ops = true;
bool print_tabs;
bool show_hex;
bool show_pc;
bool force;
bool decode_names;
bool decode_registers;
char ext_separator;
bool lower_case_ops;
u16 pc;
u16 pc = 0;
};
class DSPDisassembler