From 4d198dffaaa65eb2a22cc93f74a82d2259acd091 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 28 Jul 2014 19:51:17 +0200 Subject: [PATCH] libretro_no_rom becomes libretro_no_content --- file.c | 2 +- general.h | 2 +- retroarch.c | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/file.c b/file.c index e92ab19cfe..19d50f53f9 100644 --- a/file.c +++ b/file.c @@ -443,7 +443,7 @@ bool init_rom_file(void) attr.i = g_extern.system.info.block_extract; attr.i |= g_extern.system.info.need_fullpath << 1; attr.i |= (!g_extern.system.no_game) << 2; - string_list_append(content, g_extern.libretro_no_rom ? "" : g_extern.fullpath, attr); + string_list_append(content, g_extern.libretro_no_content ? "" : g_extern.fullpath, attr); } #ifdef HAVE_ZLIB diff --git a/general.h b/general.h index db339a3fa6..d1b4dc0f43 100644 --- a/general.h +++ b/general.h @@ -709,7 +709,7 @@ struct global jmp_buf error_sjlj_context; unsigned menu_toggle_behavior; - bool libretro_no_rom; + bool libretro_no_content; bool libretro_dummy; // Config file associated with per-core configs. diff --git a/retroarch.c b/retroarch.c index 60e2364852..638a95df51 100644 --- a/retroarch.c +++ b/retroarch.c @@ -756,7 +756,7 @@ static void print_help(void) #endif print_compiler(stdout); puts("==================================================================="); - puts("Usage: retroarch [rom file] [options...]"); + puts("Usage: retroarch [content file] [options...]"); puts("\t-h/--help: Show this help message."); puts("\t--menu: Do not require content or libretro core to be loaded, starts directly in menu."); puts("\t\tIf no arguments are passed to RetroArch, it is equivalent to using --menu as only argument."); @@ -812,7 +812,7 @@ static void print_help(void) puts("\t-U/--ups: Specifies path for UPS patch that will be applied to ROM."); puts("\t--bps: Specifies path for BPS patch that will be applied to ROM."); puts("\t--ips: Specifies path for IPS patch that will be applied to ROM."); - puts("\t--no-patch: Disables all forms of rom patching."); + puts("\t--no-patch: Disables all forms of content patching."); puts("\t-D/--detach: Detach RetroArch from the running console. Not relevant for all platforms.\n"); } @@ -888,7 +888,7 @@ static void set_paths(const char *path) static void parse_input(int argc, char *argv[]) { - g_extern.libretro_no_rom = false; + g_extern.libretro_no_content = false; g_extern.libretro_dummy = false; g_extern.has_set_save_path = false; g_extern.has_set_state_path = false; @@ -1260,7 +1260,7 @@ static void parse_input(int argc, char *argv[]) else if (*g_extern.subsystem && optind < argc) set_special_paths(argv + optind, argc - optind); else - g_extern.libretro_no_rom = true; + g_extern.libretro_no_content = true; // Copy SRM/state dirs used, so they can be reused on reentrancy. if (g_extern.has_set_save_path && path_is_directory(g_extern.savefile_name)) @@ -2922,10 +2922,10 @@ int rarch_main_init(int argc, char *argv[]) verify_api_version(); pretro_init(); - g_extern.use_sram = !g_extern.libretro_dummy && !g_extern.libretro_no_rom; + g_extern.use_sram = !g_extern.libretro_dummy && !g_extern.libretro_no_content; bool allow_cheats = true; - if (g_extern.libretro_no_rom && !g_extern.libretro_dummy) + if (g_extern.libretro_no_content && !g_extern.libretro_dummy) { if (!init_rom_file()) goto error; @@ -3252,7 +3252,7 @@ void rarch_main_deinit(void) deinit_movie(); #endif - if (!g_extern.libretro_dummy && !g_extern.libretro_no_rom) + if (!g_extern.libretro_dummy && !g_extern.libretro_no_content) save_auto_state(); uninit_drivers();