mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
GeckoCode: Remove Dead Code
This commit is contained in:
parent
3b9a70a435
commit
671958f141
@ -45,14 +45,6 @@ bool operator!=(const GeckoCode::Code& lhs, const GeckoCode::Code& rhs)
|
|||||||
return !operator==(lhs, rhs);
|
return !operator==(lhs, rhs);
|
||||||
}
|
}
|
||||||
|
|
||||||
// return true if a code exists
|
|
||||||
bool GeckoCode::Exist(u32 address, u32 data) const
|
|
||||||
{
|
|
||||||
return std::find_if(codes.begin(), codes.end(), [&](const Code& code) {
|
|
||||||
return code.address == address && code.data == data;
|
|
||||||
}) != codes.end();
|
|
||||||
}
|
|
||||||
|
|
||||||
enum class Installation
|
enum class Installation
|
||||||
{
|
{
|
||||||
Uninstalled,
|
Uninstalled,
|
||||||
|
@ -36,8 +36,6 @@ public:
|
|||||||
bool enabled = false;
|
bool enabled = false;
|
||||||
bool default_enabled = false;
|
bool default_enabled = false;
|
||||||
bool user_defined = false;
|
bool user_defined = false;
|
||||||
|
|
||||||
bool Exist(u32 address, u32 data) const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool operator==(const GeckoCode& lhs, const GeckoCode& rhs);
|
bool operator==(const GeckoCode& lhs, const GeckoCode& rhs);
|
||||||
|
Loading…
Reference in New Issue
Block a user