Don't display errors for failures to load the fonts, because they are almost never used.

(Instead, we could display an error if something actually tries to use it)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1711 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
bushing 2008-12-29 02:14:29 +00:00
parent 20e14bebc4
commit 1d64f66241
1 changed files with 5 additions and 2 deletions

View File

@ -74,7 +74,10 @@ CEXIIPL::CEXIIPL() :
}
else
{
PanicAlert("Error: failed to load font_ansi.bin.\nFonts in a few games may not work, or crash the game.");
/* This is a poor way to handle failure. We should either not display this message unless fonts
are actually accessed, or better yet, emulate them using a system font. -bushing */
// PanicAlert("Error: failed to load font_ansi.bin.\nFonts in a few games may not work, or crash the game.");
}
pStream = fopen(FONT_SJIS_FILE, "rb");
@ -90,7 +93,7 @@ CEXIIPL::CEXIIPL() :
else
{
// Heh, BIOS fonts don't really work in JAP games anyway ... we get bogus characters.
PanicAlert("Error: failed to load font_sjis.bin.\nFonts in a few Japanese games may not work or crash the game.");
// PanicAlert("Error: failed to load font_sjis.bin.\nFonts in a few Japanese games may not work or crash the game.");
}
memcpy(m_pIPL, iplver, sizeof(iplver));