core/memory/cheat_engine: Resolve -Wreorder warnings
Amends the initializer lists to be ordered in the same manner that they're declared within the class.
This commit is contained in:
parent
9fe8072c67
commit
6414d9e2e5
@ -22,7 +22,7 @@ constexpr u32 KEYPAD_BITMASK = 0x3FFFFFF;
|
|||||||
|
|
||||||
StandardVmCallbacks::StandardVmCallbacks(const Core::System& system,
|
StandardVmCallbacks::StandardVmCallbacks(const Core::System& system,
|
||||||
const CheatProcessMetadata& metadata)
|
const CheatProcessMetadata& metadata)
|
||||||
: system(system), metadata(metadata) {}
|
: metadata(metadata), system(system) {}
|
||||||
|
|
||||||
StandardVmCallbacks::~StandardVmCallbacks() = default;
|
StandardVmCallbacks::~StandardVmCallbacks() = default;
|
||||||
|
|
||||||
@ -176,9 +176,8 @@ std::vector<CheatEntry> TextCheatParser::Parse(const Core::System& system,
|
|||||||
|
|
||||||
CheatEngine::CheatEngine(Core::System& system, std::vector<CheatEntry> cheats,
|
CheatEngine::CheatEngine(Core::System& system, std::vector<CheatEntry> cheats,
|
||||||
const std::array<u8, 0x20>& build_id)
|
const std::array<u8, 0x20>& build_id)
|
||||||
: system{system}, core_timing{system.CoreTiming()}, vm{std::make_unique<StandardVmCallbacks>(
|
: vm{std::make_unique<StandardVmCallbacks>(system, metadata)},
|
||||||
system, metadata)},
|
cheats(std::move(cheats)), core_timing{system.CoreTiming()}, system{system} {
|
||||||
cheats(std::move(cheats)) {
|
|
||||||
metadata.main_nso_build_id = build_id;
|
metadata.main_nso_build_id = build_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user