From 1d64f6624172fc913a13cac51610904fec7bfd30 Mon Sep 17 00:00:00 2001 From: bushing Date: Mon, 29 Dec 2008 02:14:29 +0000 Subject: [PATCH] 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 --- Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp index 73c4f075e2..012fac7373 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp @@ -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));