Browse Source

fx

lizzie/rework-ips
lizzie 1 month ago
parent
commit
715ddfa0d6
  1. 2
      src/core/file_sys/ips_layer.cpp

2
src/core/file_sys/ips_layer.cpp

@ -223,7 +223,7 @@ void IPSwitchCompiler::Parse() {
} else if (StartsWith(line, "@")) { } else if (StartsWith(line, "@")) {
LOG_WARNING(Loader, "Unknown flag {}", line); LOG_WARNING(Loader, "Unknown flag {}", line);
} else { } else {
auto offset = std::strtoul(line.data(), nullptr, 16);
size_t offset = size_t(std::strtoul(line.data(), nullptr, 16));
offset += size_t(offset_shift); offset += size_t(offset_shift);
if (auto const first_quote = line.find_first_of("\"\'"); first_quote != std::string::npos) { if (auto const first_quote = line.find_first_of("\"\'"); first_quote != std::string::npos) {
// string replacement // string replacement

Loading…
Cancel
Save