diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-01-04 12:51:02 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-01-04 12:53:22 -0500 |
| commit | 2cfc0dc8b64bf0d374bd1b9da9a5fda833d5ddc7 (patch) | |
| tree | 44b6694eb8dd310e85c3e0c64251a07c30432fe3 /Source | |
| parent | 9f164d7c337e3d6de13a08e239cd7922151cbb7c (diff) | |
DSPDisassembler: directly initialize AssemblerSettings struct members
Same thing, less code.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/DSP/DSPDisassembler.h | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/Source/Core/Core/DSP/DSPDisassembler.h b/Source/Core/Core/DSP/DSPDisassembler.h index e66b0d1a05..97fd061b85 100644 --- a/Source/Core/Core/DSP/DSPDisassembler.h +++ b/Source/Core/Core/DSP/DSPDisassembler.h @@ -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; - bool show_hex; - bool show_pc; - bool force; - bool decode_names; - bool decode_registers; - char ext_separator; - bool lower_case_ops; - - u16 pc; + 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; + + u16 pc = 0; }; class DSPDisassembler |
