mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
IMMORTAL: Migrate engine to Path
This commit is contained in:
parent
0ab0721905
commit
fa613cc8e9
@ -37,7 +37,7 @@ ImmortalEngine::ImmortalEngine(OSystem *syst, const ADGameDescription *gameDesc)
|
||||
g_immortal = this;
|
||||
|
||||
// Add the game folder to the search manager path variable
|
||||
const Common::FSNode gameDataDir(ConfMan.get("path"));
|
||||
const Common::FSNode gameDataDir(ConfMan.getPath("path"));
|
||||
SearchMan.addSubDirectoryMatching(gameDataDir, "game");
|
||||
|
||||
// Confirm that the engine was created
|
||||
|
@ -713,7 +713,7 @@ Common::SeekableReadStream *ImmortalEngine::loadIFF(Common::String fileName) {
|
||||
*/
|
||||
|
||||
Common::File f;
|
||||
if (!f.open(fileName)) {
|
||||
if (!f.open(Common::Path(fileName))) {
|
||||
debug("*surprised pikachu face*");
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user