[ips_layer] fix TLTD 60 FPS mod specifically

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-08-31 20:28:03 +00:00
parent 5c20f244c9
commit 546574e71c
+3
View File
@@ -267,6 +267,9 @@ void IPSwitchCompiler::Parse(std::span<u8 const> bytes) {
++p;
}
}
// remove trailing
for (; p > sline.cbegin() && std::isspace(*p); --p)
;
// now we have the preprocessed string ;)
std::string_view pp_str(sline_start, p);
if (pp_str.size() > 0 && !parse_line(pp_str)) {