mirror of https://github.com/AxioDL/metaforce.git
MP1: Load Strings pak as well
This commit is contained in:
parent
ce7b94a2ed
commit
325e955354
|
@ -378,16 +378,20 @@ void CMain::AddOverridePaks() {
|
||||||
/* Make sure all Override paks are ready before attempting to load URDE.upak */
|
/* Make sure all Override paks are ready before attempting to load URDE.upak */
|
||||||
loader->WaitForPakFileLoadingComplete();
|
loader->WaitForPakFileLoadingComplete();
|
||||||
|
|
||||||
|
/* Load Trilogy PAKs */
|
||||||
|
if (CDvdFile::FileExists("RS5.upak")) {
|
||||||
|
loader->AddPakFile("RS5", false, false, true);
|
||||||
|
}
|
||||||
|
if (CDvdFile::FileExists("Strings.upak")) {
|
||||||
|
loader->AddPakFile("Strings", false, false, true);
|
||||||
|
}
|
||||||
|
|
||||||
/* Attempt to load URDE.upak
|
/* Attempt to load URDE.upak
|
||||||
* NOTE(phil): Should we fatal here if it's not found?
|
* NOTE(phil): Should we fatal here if it's not found?
|
||||||
*/
|
*/
|
||||||
if (CDvdFile::FileExists("URDE.upak")) {
|
if (CDvdFile::FileExists("URDE.upak")) {
|
||||||
loader->AddPakFile("URDE", false, false, true);
|
loader->AddPakFile("URDE", false, false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CDvdFile::FileExists("RS5.upak")) {
|
|
||||||
loader->AddPakFile("RS5", false, false, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMain::ResetGameState() {
|
void CMain::ResetGameState() {
|
||||||
|
|
Loading…
Reference in New Issue