MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / LoadPatchLine

Method LoadPatchLine

pcsx2/Patch.cpp:195–201  ·  view source on GitHub ↗

This routine is for executing the commands of the ini file.

Source from the content-addressed store, hash-verified

193
194// This routine is for executing the commands of the ini file.
195void Patch::LoadPatchLine(PatchGroup* group, const std::string_view line)
196{
197 std::string_view key, value;
198 StringUtil::ParseAssignmentString(line, &key, &value);
199
200 PatchTableExecute(group, key, value, s_patch_commands);
201}
202
203u32 Patch::LoadPatchesFromString(std::vector<PatchGroup>* patch_list, const std::string& patch_file)
204{

Callers

nothing calls this directly

Calls 1

ParseAssignmentStringFunction · 0.85

Tested by

no test coverage detected