early-access version 2901

This commit is contained in:
pineappleEA
2022-08-13 04:14:43 +02:00
parent 7ce78aaa94
commit 7a7b98c00a
16 changed files with 734 additions and 65 deletions

View File

@@ -287,7 +287,8 @@ void IPSwitchCompiler::Parse() {
std::copy(value.begin(), value.end(), std::back_inserter(replace));
} else {
// hex replacement
const auto value = patch_line.substr(9);
const auto value =
patch_line.substr(9, patch_line.find_first_of(" /\r\n", 9) - 9);
replace = Common::HexStringToVector(value, is_little_endian);
}