cheats: iOS build fix
This commit is contained in:
parent
5fb8b458bb
commit
fe6247dded
|
@ -370,7 +370,7 @@ void CheatManager::reset(const std::string& gameId)
|
||||||
if (gameId == "VF4 FINAL TUNED JAPAN")
|
if (gameId == "VF4 FINAL TUNED JAPAN")
|
||||||
{
|
{
|
||||||
active = true;
|
active = true;
|
||||||
cheats.push_back(Cheat{ Cheat::Type::setValue, "Skip DIMM version check", true, 16, 0x000205c6, 9, 0, 1, 0, 0, 0 });
|
cheats.emplace_back(Cheat::Type::setValue, "Skip DIMM version check", true, 16, 0x000205c6, 9);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
widescreen_cheat = nullptr;
|
widescreen_cheat = nullptr;
|
||||||
|
|
|
@ -42,17 +42,25 @@ struct Cheat
|
||||||
runNextIfLt,
|
runNextIfLt,
|
||||||
copy
|
copy
|
||||||
};
|
};
|
||||||
Type type = Type::disabled;
|
Type type;
|
||||||
std::string description;
|
std::string description;
|
||||||
bool enabled = false;
|
bool enabled;
|
||||||
u32 size = 0;
|
u32 size;
|
||||||
u32 address = 0;
|
u32 address;
|
||||||
u32 value = 0;
|
u32 value;
|
||||||
u8 valueMask = 0;
|
u8 valueMask;
|
||||||
u32 repeatCount = 1;
|
u32 repeatCount;
|
||||||
u32 repeatValueIncrement = 0;
|
u32 repeatValueIncrement;
|
||||||
u32 repeatAddressIncrement = 0;
|
u32 repeatAddressIncrement;
|
||||||
u32 destAddress = 0;
|
u32 destAddress;
|
||||||
|
|
||||||
|
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 repeatAddressIncrement = 0, u32 destAddress = 0)
|
||||||
|
: type(type), description(description), enabled(enabled), size(size), address(address), valueMask(valueMask),
|
||||||
|
repeatCount(repeatCount), repeatValueIncrement(repeatValueIncrement), repeatAddressIncrement(repeatAddressIncrement), destAddress(destAddress)
|
||||||
|
{
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class CheatManager
|
class CheatManager
|
||||||
|
|
Loading…
Reference in New Issue