Some more non-HAVE_MENU buildfixes

This commit is contained in:
twinaphex 2015-10-28 08:02:39 +01:00
parent 971f5277d7
commit eb33e83eff
4 changed files with 7 additions and 2 deletions

View File

@ -25,6 +25,7 @@
#include <X11/extensions/Xinerama.h>
#endif
#include "../keyboard_line.h"
#include "../input_keymaps.h"
/* forward declarations */

View File

@ -29,6 +29,7 @@
#include <rhash.h>
#include "input_overlay.h"
#include "keyboard_line.h"
#include "../configuration.h"
#include "input_common.h"

View File

@ -171,9 +171,11 @@ static void print_help(const char *arg0)
puts(" --log-file=FILE Log messages to FILE.");
puts(" --version Show version.");
puts(" --features Prints available features compiled into program.");
#ifdef HAVE_MENU
puts(" --menu Do not require content or libretro core to be loaded,\n"
" starts directly in menu. If no arguments are passed to\n"
" the program, it is equivalent to using --menu as only argument.");
#endif
puts(" -s, --save=PATH Path for save files (*.srm).");
puts(" -S, --savestate=PATH Path for the save state files (*.state).");
puts(" -f, --fullscreen Start the program in fullscreen regardless of config settings.");
@ -1264,8 +1266,10 @@ void rarch_main_init_wrap(const struct rarch_main_wrap *args,
}
else
{
#ifdef HAVE_MENU
RARCH_LOG("No content, starting dummy core.\n");
argv[(*argc)++] = strdup("--menu");
#endif
}
}

View File

@ -73,9 +73,8 @@ void rarch_main_data_nbio_image_upload_iterate(bool is_thread);
#endif
#ifdef HAVE_LIBRETRODB
#ifdef HAVE_MENU
void rarch_main_data_db_iterate(bool is_thread);
#ifdef HAVE_MENU
bool rarch_main_data_db_pending_scan_finished(void);
#endif