mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 23:52:41 +00:00
GRAPHICS: Gracefully process previous version of classicmacfonts.dat
This commit is contained in:
parent
e66961e1de
commit
1caaf49f20
@ -161,7 +161,7 @@ void MacFontManager::loadFonts() {
|
|||||||
Common::MacResManager *fontFile = new Common::MacResManager();
|
Common::MacResManager *fontFile = new Common::MacResManager();
|
||||||
|
|
||||||
if (!fontFile->loadFromMacBinary(*stream))
|
if (!fontFile->loadFromMacBinary(*stream))
|
||||||
error("Could not open %s as a resource fork", (*it)->getName().c_str());
|
continue;
|
||||||
|
|
||||||
Common::MacResIDArray fonds = fontFile->getResIDArray(MKTAG('F','O','N','D'));
|
Common::MacResIDArray fonds = fontFile->getResIDArray(MKTAG('F','O','N','D'));
|
||||||
if (fonds.size() > 0) {
|
if (fonds.size() > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user