diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 04:43:49 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 04:43:49 +0200 |
commit | 2bddc0346815bf5e893ad9611d89dbb0d511e32f (patch) | |
tree | a613f239938891b6d89c37df63caf5d842de8070 /src/core/memory/dmnt_cheat_types.h | |
parent | dmnt_cheat_vm: Make Cheat VM compliant to code style (diff) | |
download | yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.gz yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.bz2 yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.lz yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.xz yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.tar.zst yuzu-2bddc0346815bf5e893ad9611d89dbb0d511e32f.zip |
Diffstat (limited to 'src/core/memory/dmnt_cheat_types.h')
-rw-r--r-- | src/core/memory/dmnt_cheat_types.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/core/memory/dmnt_cheat_types.h b/src/core/memory/dmnt_cheat_types.h index aa1264c32..bf68fa0fe 100644 --- a/src/core/memory/dmnt_cheat_types.h +++ b/src/core/memory/dmnt_cheat_types.h @@ -29,30 +29,30 @@ namespace Memory { struct MemoryRegionExtents { - u64 base; - u64 size; + u64 base{}; + u64 size{}; }; struct CheatProcessMetadata { - u64 process_id; - u64 title_id; - MemoryRegionExtents main_nso_extents; - MemoryRegionExtents heap_extents; - MemoryRegionExtents alias_extents; - MemoryRegionExtents address_space_extents; - std::array<u8, 0x20> main_nso_build_id; + u64 process_id{}; + u64 title_id{}; + MemoryRegionExtents main_nso_extents{}; + MemoryRegionExtents heap_extents{}; + MemoryRegionExtents alias_extents{}; + MemoryRegionExtents address_space_extents{}; + std::array<u8, 0x20> main_nso_build_id{}; }; struct CheatDefinition { - std::array<char, 0x40> readable_name; - u32 num_opcodes; - std::array<u32, 0x100> opcodes; + std::array<char, 0x40> readable_name{}; + u32 num_opcodes{}; + std::array<u32, 0x100> opcodes{}; }; struct CheatEntry { - bool enabled; - u32 cheat_id; - CheatDefinition definition; + bool enabled{}; + u32 cheat_id{}; + CheatDefinition definition{}; }; } // namespace Memory |