From 041bc770e82bf67c2e1535c165d42926375f866a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 2 Apr 2006 02:40:39 +0000 Subject: 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 --- backends/ps2/fileio.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backends') diff --git a/backends/ps2/fileio.cpp b/backends/ps2/fileio.cpp index 53a96f87ff..61d43b355a 100644 --- a/backends/ps2/fileio.cpp +++ b/backends/ps2/fileio.cpp @@ -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'))) { -- cgit v1.2.3