aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray2003-11-03 02:43:10 +0000
committerJonathan Gray2003-11-03 02:43:10 +0000
commit8735f1eff7c53a0e06142e5de273b326f4556470 (patch)
tree410f6db93004a575d8e095db45b7e7db65146eb5
parent5a91cb4287e3dab066a829a3c5d85b27d8755888 (diff)
downloadscummvm-rg350-8735f1eff7c53a0e06142e5de273b326f4556470.tar.gz
scummvm-rg350-8735f1eff7c53a0e06142e5de273b326f4556470.tar.bz2
scummvm-rg350-8735f1eff7c53a0e06142e5de273b326f4556470.zip
Look for towns font rom in game directory then current directory instead of just current directory
svn-id: r11083
-rw-r--r--scumm/scummvm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 83d7aac21a..ede1195256 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -764,7 +764,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS
_2byteWidth = 16;
_2byteHeight = 16;
//use FM Towns font rom, since game files don't have kanji font resources
- if (fp.open("fmt_fnt.rom", "./", 1)) { //FIXME: use getGameDataPath()?
+ if (fp.open("fmt_fnt.rom", getGameDataPath(), 1) || fp.open("fmt_fnt.rom", "./", 1)) {
_CJKMode = true;
debug(2, "Loading FM Towns Kanji rom");
_2byteFontPtr = new byte[((_2byteWidth + 7) / 8) * _2byteHeight * numChar];