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:
Léo Lam
2021-01-22 16:33:50 +01:00
parent 5d36832608
commit ad95be2d08
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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();
}