X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.c;h=65f7b98af79cbf5c22df86ab275cb03910a0b96b;hb=239f3754d8e0480f1e32bf414e49dec6e2ea019d;hp=b3b717735c7883e17b3064d2b7de0faed74ef1f6;hpb=b105cf4f5e168fdce54c6011533df76d196a917b;p=pcsx_rearmed.git diff --git a/frontend/menu.c b/frontend/menu.c index b3b71773..65f7b98a 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -489,6 +489,10 @@ fail: menu_sync_config(); + // caanoo old config compat hack + if (strcmp(Config.Gpu, "gpuPCSX4ALL.so") == 0) + strcpy(Config.Gpu, "gpu_unai.so"); + // sync plugins for (i = bios_sel = 0; bioses[i] != NULL; i++) if (strcmp(Config.Bios, bioses[i]) == 0) @@ -1694,11 +1698,14 @@ static void menu_bios_warn(void) "The file is usually named SCPH1001.BIN,\n" "but other not compressed files can be\n" "used too.\n\n" - "Press (B) or (X) to continue"; + "Press %s or %s to continue"; + char tmp_msg[sizeof(msg) + 64]; + snprintf(tmp_msg, sizeof(tmp_msg), msg, + in_get_key_name(-1, -PBTN_MOK), in_get_key_name(-1, -PBTN_MBACK)); while (1) { - draw_menu_message(msg, NULL); + draw_menu_message(tmp_msg, NULL); inp = in_menu_wait(PBTN_MOK|PBTN_MBACK, 70); if (inp & (PBTN_MBACK|PBTN_MOK))