diff options
| author | Max Horn | 2006-04-02 02:40:39 +0000 | 
|---|---|---|
| committer | Max Horn | 2006-04-02 02:40:39 +0000 | 
| commit | 041bc770e82bf67c2e1535c165d42926375f866a (patch) | |
| tree | db1a9d61d8f3dd34422c8f84fec64a3b965aa2ad | |
| parent | 9b08d8e467077a2235037c305db22aa4ac82d599 (diff) | |
| download | scummvm-rg350-041bc770e82bf67c2e1535c165d42926375f866a.tar.gz scummvm-rg350-041bc770e82bf67c2e1535c165d42926375f866a.tar.bz2 scummvm-rg350-041bc770e82bf67c2e1535c165d42926375f866a.zip | |
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
| -rw-r--r-- | backends/ps2/fileio.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| 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'))) { | 
