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
e1141d6
..
eacbee9
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"
@@
-418,7
+419,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;
}
}
@@
-715,6
+720,8
@@
int main(int argc, char *argv[])
}
if (ready_to_go) {
}
if (ready_to_go) {
+ if (menu_load_config(1) != 0)
+ menu_load_config(0);
menu_prepare_emu();
// If a state has been specified, then load that
menu_prepare_emu();
// If a state has been specified, then load that