mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-06 05:48:06 +03:00
Report errors using SDL message box
This commit is contained in:
+1
-2
@@ -66,8 +66,7 @@ AGS::AGS(NACT* parent, const char* fontfile) : nact(parent)
|
||||
hFont48 = TTF_OpenFont(fontfile, 48);
|
||||
hFont64 = TTF_OpenFont(fontfile, 64);
|
||||
if (!hFont16 || !hFont24 || !hFont32 || !hFont48 || !hFont64) {
|
||||
printf("Cannot open font file %s\n", fontfile);
|
||||
exit(1);
|
||||
parent->fatal("Cannot open font file %s", fontfile);
|
||||
}
|
||||
|
||||
// カーソル初期化
|
||||
|
||||
Reference in New Issue
Block a user