feat: mario world

This commit is contained in:
Fireblade
2026-06-22 18:55:36 -04:00
parent 8e31c2d29d
commit 929b32fff6
389 changed files with 818 additions and 19 deletions

View File

@@ -470,8 +470,23 @@ LPCWSTR StringTable::getString(const wstring &id)
}
else
{
m_missingKeyFallback = id;
return m_missingKeyFallback.c_str();
// fireblade: temporarily hardcoded until someone figures out how to read big endian dlc string tables
if (id == L"IDS_MARIO_NAME")
{
return L"Super Mario World";
}
else if (id == L"IDS_MARSHRT_NAME") {
return L"Super Mario";
}
else if (id == L"IDS_MASV_NAME") {
return L"Super Mario Save";
}
else
{
m_missingKeyFallback = id;
printf("StringTable::getString() - Missing key '%ls'\n", id.c_str());
return m_missingKeyFallback.c_str();
}
}
}