mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-09 23:57:59 +00:00
fx
This commit is contained in:
parent
99361f27aa
commit
56dffd9db1
|
|
@ -223,7 +223,7 @@ void IPSwitchCompiler::Parse() {
|
|||
} else if (StartsWith(line, "@")) {
|
||||
LOG_WARNING(Loader, "Unknown flag {}", line);
|
||||
} 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);
|
||||
if (auto const first_quote = line.find_first_of("\"\'"); first_quote != std::string::npos) {
|
||||
// string replacement
|
||||
|
|
|
|||
Loading…
Reference in a new issue