cheat_engine: Remove unnecessary system argument to CheatParser's Parse function
This isn't used within the function at all in any implementations, so we can remove it entirely.
This commit is contained in:
parent
5dbae278f4
commit
6711031e7d
3 changed files with 9 additions and 15 deletions
|
@ -98,10 +98,9 @@ std::string_view ExtractName(std::string_view data, std::size_t start_index) {
|
|||
}
|
||||
} // Anonymous namespace
|
||||
|
||||
std::vector<CheatEntry> TextCheatParser::Parse(const Core::System& system,
|
||||
std::string_view data) const {
|
||||
std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const {
|
||||
std::vector<CheatEntry> out(1);
|
||||
std::optional<u64> current_entry = std::nullopt;
|
||||
std::optional<u64> current_entry;
|
||||
|
||||
for (std::size_t i = 0; i < data.size(); ++i) {
|
||||
if (::isspace(data[i])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue