cheat: missing cheat value in constructor
Fixes vf4tuned dimm check cheat writing random value (SH4 exception, boot loop)
This commit is contained in:
parent
5c579de459
commit
1268077f6b
|
@ -56,9 +56,9 @@ struct Cheat
|
||||||
bool builtIn;
|
bool builtIn;
|
||||||
|
|
||||||
Cheat(Type type = Type::disabled, const std::string& description = "", bool enabled = false, u32 size = 0, u32 address = 0,
|
Cheat(Type type = Type::disabled, const std::string& description = "", bool enabled = false, u32 size = 0, u32 address = 0,
|
||||||
u8 valueMask = 0, u32 repeatCount = 1, u32 repeatValueIncrement = 0,
|
u32 value = 0, u8 valueMask = 0, u32 repeatCount = 1, u32 repeatValueIncrement = 0,
|
||||||
u32 repeatAddressIncrement = 0, u32 destAddress = 0, bool builtIn = false)
|
u32 repeatAddressIncrement = 0, u32 destAddress = 0, bool builtIn = false)
|
||||||
: type(type), description(description), enabled(enabled), size(size), address(address), valueMask(valueMask),
|
: type(type), description(description), enabled(enabled), size(size), address(address), value(value), valueMask(valueMask),
|
||||||
repeatCount(repeatCount), repeatValueIncrement(repeatValueIncrement), repeatAddressIncrement(repeatAddressIncrement),
|
repeatCount(repeatCount), repeatValueIncrement(repeatValueIncrement), repeatAddressIncrement(repeatAddressIncrement),
|
||||||
destAddress(destAddress), builtIn(builtIn)
|
destAddress(destAddress), builtIn(builtIn)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue