Load scenes via MxScn.dat

d275af7
This commit is contained in:
Nikhil Narayana 2023-07-15 14:08:00 -07:00 committed by David Liu
commit 8b98657d57

View file

@ -48,7 +48,13 @@ u32 SlippiGameFileLoader::LoadFile(std::string fileName, std::string& data)
}
std::string fileContents;
File::ReadFileToString(gameFilePath, fileContents);
// Don't read MxDt.dat because our Launcher may not have successfully deleted it and
// loading the old one from the file system would break m-ex based ISOs
if (fileName != "MxDt.dat")
{
File::ReadFileToString(gameFilePath, fileContents);
}
// If the file was a diff file and the game is running, load the main file from ISO and apply
// patch