- set ROM Loading to "Stream from Disk" by default;
This commit is contained in:
mtabachenko 2013-11-23 11:49:40 +00:00
parent 5e3aae6b9f
commit 3d8f138874
3 changed files with 5 additions and 5 deletions

View File

@ -500,7 +500,7 @@ extern struct TCommonSettings {
, GFX3D_Zelda_Shadow_Depth_Hack(0) , GFX3D_Zelda_Shadow_Depth_Hack(0)
, GFX3D_Renderer_Multisample(false) , GFX3D_Renderer_Multisample(false)
, jit_max_block_size(100) , jit_max_block_size(100)
, loadToMemory(true) , loadToMemory(false)
, UseExtBIOS(false) , UseExtBIOS(false)
, SWIFromBIOS(false) , SWIFromBIOS(false)
, PatchSWI3(false) , PatchSWI3(false)

View File

@ -84,7 +84,7 @@ void CommandLine::loadCommonOptions()
//but also see the gtk port for an example of how to combine this with other options //but also see the gtk port for an example of how to combine this with other options
//(you may need to use ifdefs to cause options to be entered in the desired order) //(you may need to use ifdefs to cause options to be entered in the desired order)
static const GOptionEntry options[] = { static const GOptionEntry options[] = {
{ "load-type", 0, 0, G_OPTION_ARG_INT, &_load_to_memory, "ROM loading method, 0 - stream from disk (like an iso), 1 - load entirely to RAM (default 1)", "LOAD_TYPE"}, { "load-type", 0, 0, G_OPTION_ARG_INT, &_load_to_memory, "ROM loading method, 0 - stream from disk (like an iso), 1 - load entirely to RAM (default 0)", "LOAD_TYPE"},
{ "load-slot", 0, 0, G_OPTION_ARG_INT, &load_slot, "Loads savestate from slot NUM", "NUM"}, { "load-slot", 0, 0, G_OPTION_ARG_INT, &load_slot, "Loads savestate from slot NUM", "NUM"},
{ "play-movie", 0, 0, G_OPTION_ARG_FILENAME, &_play_movie_file, "Specifies a dsm format movie to play", "PATH_TO_PLAY_MOVIE"}, { "play-movie", 0, 0, G_OPTION_ARG_FILENAME, &_play_movie_file, "Specifies a dsm format movie to play", "PATH_TO_PLAY_MOVIE"},
{ "record-movie", 0, 0, G_OPTION_ARG_FILENAME, &_record_movie_file, "Specifies a path to a new dsm format movie", "PATH_TO_RECORD_MOVIE"}, { "record-movie", 0, 0, G_OPTION_ARG_FILENAME, &_record_movie_file, "Specifies a path to a new dsm format movie", "PATH_TO_RECORD_MOVIE"},

View File

@ -2937,7 +2937,7 @@ int _main()
path.ReadPathSettings(); path.ReadPathSettings();
CommonSettings.loadToMemory = GetPrivateProfileBool("General", "loadType", true, IniName); CommonSettings.loadToMemory = GetPrivateProfileBool("General", "ROM Loading Mode", false, IniName);
CommonSettings.cheatsDisable = GetPrivateProfileBool("General", "cheatsDisable", false, IniName); CommonSettings.cheatsDisable = GetPrivateProfileBool("General", "cheatsDisable", false, IniName);
CommonSettings.autodetectBackupMethod = GetPrivateProfileInt("General", "autoDetectMethod", 0, IniName); CommonSettings.autodetectBackupMethod = GetPrivateProfileInt("General", "autoDetectMethod", 0, IniName);
CommonSettings.backupSave = GetPrivateProfileBool("General", "backupSave", false, IniName); CommonSettings.backupSave = GetPrivateProfileBool("General", "backupSave", false, IniName);
@ -5826,12 +5826,12 @@ DOKEYDOWN:
case ID_STREAMFROMDISK: case ID_STREAMFROMDISK:
CommonSettings.loadToMemory = false; CommonSettings.loadToMemory = false;
WritePrivateProfileBool("General", "loadType", CommonSettings.loadToMemory, IniName); WritePrivateProfileBool("General", "ROM Loading Mode", CommonSettings.loadToMemory, IniName);
return 0; return 0;
case ID_LOADTORAM: case ID_LOADTORAM:
CommonSettings.loadToMemory = true; CommonSettings.loadToMemory = true;
WritePrivateProfileBool("General", "loadType", CommonSettings.loadToMemory, IniName); WritePrivateProfileBool("General", "ROM Loading Mode", CommonSettings.loadToMemory, IniName);
return 0; return 0;
case IDM_3DCONFIG: case IDM_3DCONFIG: