mirror of
https://github.com/zeldaret/botw
synced 2026-05-26 15:45:05 -04:00
ksys/act: Fix missing parameter for InfoData::getStringByKey
Callers in actInfoData.cpp still matched because LLVM detected that the last argument is unused and optimized it out (or inlined the function entirely)
This commit is contained in:
@@ -210,7 +210,7 @@ s32 InfoData::getIntByKey(const al::ByamlIter& iter, const char* key, s32 defaul
|
||||
}
|
||||
|
||||
const char* InfoData::getStringByKey(const al::ByamlIter& iter, const char* key,
|
||||
const sead::SafeString& default_) {
|
||||
const sead::SafeString& default_, bool) {
|
||||
const char* value;
|
||||
return iter.tryGetStringByKey(&value, key) ? value : default_.cstr();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user