Look for towns font rom in game directory then current directory instead of just current directory

svn-id: r11083
This commit is contained in:
Jonathan Gray 2003-11-03 02:43:10 +00:00
parent 5a91cb4287
commit 8735f1eff7

View File

@ -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];