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:
parent
20e14bebc4
commit
1d64f66241
|
@ -74,7 +74,10 @@ CEXIIPL::CEXIIPL() :
|
||||||
}
|
}
|
||||||
else
|
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");
|
pStream = fopen(FONT_SJIS_FILE, "rb");
|
||||||
|
@ -90,7 +93,7 @@ CEXIIPL::CEXIIPL() :
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Heh, BIOS fonts don't really work in JAP games anyway ... we get bogus characters.
|
// 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));
|
memcpy(m_pIPL, iplver, sizeof(iplver));
|
||||||
|
|
Loading…
Reference in New Issue