Some more non-HAVE_MENU buildfixes
This commit is contained in:
parent
971f5277d7
commit
eb33e83eff
|
@ -25,6 +25,7 @@
|
||||||
#include <X11/extensions/Xinerama.h>
|
#include <X11/extensions/Xinerama.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "../keyboard_line.h"
|
||||||
#include "../input_keymaps.h"
|
#include "../input_keymaps.h"
|
||||||
|
|
||||||
/* forward declarations */
|
/* forward declarations */
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <rhash.h>
|
#include <rhash.h>
|
||||||
|
|
||||||
#include "input_overlay.h"
|
#include "input_overlay.h"
|
||||||
|
#include "keyboard_line.h"
|
||||||
|
|
||||||
#include "../configuration.h"
|
#include "../configuration.h"
|
||||||
#include "input_common.h"
|
#include "input_common.h"
|
||||||
|
|
|
@ -171,9 +171,11 @@ static void print_help(const char *arg0)
|
||||||
puts(" --log-file=FILE Log messages to FILE.");
|
puts(" --log-file=FILE Log messages to FILE.");
|
||||||
puts(" --version Show version.");
|
puts(" --version Show version.");
|
||||||
puts(" --features Prints available features compiled into program.");
|
puts(" --features Prints available features compiled into program.");
|
||||||
|
#ifdef HAVE_MENU
|
||||||
puts(" --menu Do not require content or libretro core to be loaded,\n"
|
puts(" --menu Do not require content or libretro core to be loaded,\n"
|
||||||
" starts directly in menu. If no arguments are passed to\n"
|
" starts directly in menu. If no arguments are passed to\n"
|
||||||
" the program, it is equivalent to using --menu as only argument.");
|
" the program, it is equivalent to using --menu as only argument.");
|
||||||
|
#endif
|
||||||
puts(" -s, --save=PATH Path for save files (*.srm).");
|
puts(" -s, --save=PATH Path for save files (*.srm).");
|
||||||
puts(" -S, --savestate=PATH Path for the save state files (*.state).");
|
puts(" -S, --savestate=PATH Path for the save state files (*.state).");
|
||||||
puts(" -f, --fullscreen Start the program in fullscreen regardless of config settings.");
|
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
|
else
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_MENU
|
||||||
RARCH_LOG("No content, starting dummy core.\n");
|
RARCH_LOG("No content, starting dummy core.\n");
|
||||||
argv[(*argc)++] = strdup("--menu");
|
argv[(*argc)++] = strdup("--menu");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,8 @@ void rarch_main_data_nbio_image_upload_iterate(bool is_thread);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBRETRODB
|
#ifdef HAVE_LIBRETRODB
|
||||||
#ifdef HAVE_MENU
|
|
||||||
void rarch_main_data_db_iterate(bool is_thread);
|
void rarch_main_data_db_iterate(bool is_thread);
|
||||||
|
#ifdef HAVE_MENU
|
||||||
bool rarch_main_data_db_pending_scan_finished(void);
|
bool rarch_main_data_db_pending_scan_finished(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue