X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmain.c;h=eacbee9f274a90339788265a8b3aa2219cac4c7e;hb=cdee2d818c421aad6b343faa0d0acb0b069f1741;hp=d98ad003abe8f61c3f8e912399b275a905f3d352;hpb=94e553c1911bf7e10a1fed75a00ea55c09600af8;p=pcsx_rearmed.git diff --git a/frontend/main.c b/frontend/main.c index d98ad003..eacbee9f 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -24,6 +24,7 @@ #include "../libpcsxcore/misc.h" #include "../libpcsxcore/cheat.h" #include "../libpcsxcore/sio.h" +#include "../libpcsxcore/database.h" #include "../libpcsxcore/new_dynarec/new_dynarec.h" #include "../plugins/cdrcimg/cdrcimg.h" #include "../plugins/dfsound/spu_config.h" @@ -418,7 +419,11 @@ void emu_on_new_cd(int show_hud_msg) } if (show_hud_msg) { - snprintf(hud_msg, sizeof(hud_msg), BOOT_MSG); + if (check_unsatisfied_libcrypt()) + snprintf(hud_msg, sizeof(hud_msg), + "LibCrypt protected game with missing SBI detected"); + else + snprintf(hud_msg, sizeof(hud_msg), BOOT_MSG); hud_new_msg = 3; } }