Merge pull request #4609 from lioncash/dspdisasm

DSPDisassembler: directly initialize AssemblerSettings struct members
This commit is contained in:
JosJuice 2017-01-04 19:52:52 +01:00 committed by GitHub
commit f46f779f70
1 changed files with 9 additions and 15 deletions

View File

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