mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
MemoryPatches: In-class initialize is_enabled state for MemoryPatch instances
Given this is what occurs in both constructors (as one just passes through to another), we can just initialize the member directly. While we're at it, amend the struct to follow the general ordering convention of: <new types> <functions> <variables>
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
namespace Common::Debug
|
||||
{
|
||||
MemoryPatch::MemoryPatch(u32 address_, std::vector<u8> value_)
|
||||
: address(address_), value(std::move(value_)), is_enabled(State::Enabled)
|
||||
: address(address_), value(std::move(value_))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user