Browse Source

[cheats] Check for comments in patch line loop

pull/156/head
notenergydrinks 8 months ago
parent
commit
fcf12835bb
  1. 5
      src/core/file_sys/ips_layer.cpp

5
src/core/file_sys/ips_layer.cpp

@ -255,6 +255,11 @@ void IPSwitchCompiler::Parse() {
const auto& patch_line = lines[++i];
// Patch line may contain comments
if (StartsWith(patch_line, "//")) {
continue;
}
// Start of new patch
if (StartsWith(patch_line, "@enabled") || StartsWith(patch_line, "@disabled")) {
--i;

Loading…
Cancel
Save