notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a libcrypt warning
[pcsx_rearmed.git]
/
frontend
/
main.c
diff --git
a/frontend/main.c
b/frontend/main.c
index
05e4d55
..
18ca6e5
100644
(file)
--- 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/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"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../plugins/cdrcimg/cdrcimg.h"
#include "../plugins/dfsound/spu_config.h"
@@
-413,7
+414,11
@@
void emu_on_new_cd(int show_hud_msg)
}
if (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;
}
}
hud_new_msg = 3;
}
}