mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 05:34:27 +00:00
ps2_fopen uses getGameDataPath -- added FIXME comment that explain how it probably could be fixed, but I'll leave this to somebody who can actually compile & test this port :-)
svn-id: r21548
This commit is contained in:
parent
9b08d8e467
commit
041bc770e8
@ -420,6 +420,7 @@ FILE *ps2_fopen(const char *fname, const char *mode) {
|
||||
assert(cacheListSema >= 0);
|
||||
}
|
||||
if (!tocManager.haveEntries() && g_engine) // read the TOC the first time the engine opens a file
|
||||
// FIXME: Dear porter, you probably want to use ConfMan.get("path") here to get the data path
|
||||
tocManager.readEntries(g_engine->getGameDataPath());
|
||||
|
||||
if (((mode[0] != 'r') && (mode[0] != 'w')) || ((mode[1] != '\0') && (mode[1] != 'b'))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user