diff --git a/desmume/src/commandline.cpp b/desmume/src/commandline.cpp index 01758a2c6..0bf78e536 100644 --- a/desmume/src/commandline.cpp +++ b/desmume/src/commandline.cpp @@ -56,7 +56,7 @@ CommandLine::CommandLine() , arm9_gdb_port(0) , arm7_gdb_port(0) , start_paused(FALSE) -, autodetect_method(-1) +, autodetect_method(0) { #ifndef _MSC_VER disable_sound = 0; @@ -142,8 +142,7 @@ bool CommandLine::parse(int argc,char **argv) if(dsi_mode != -1) CommonSettings.DSI = (dsi_mode==1); - if(autodetect_method != -1) - CommonSettings.autodetectBackupMethod = autodetect_method; + CommonSettings.autodetectBackupMethod = autodetect_method; //TODO MAX PRIORITY! change ARM9BIOS etc to be a std::string if(_bios_arm9) { CommonSettings.UseExtBIOS = true; strcpy(CommonSettings.ARM9BIOS,_bios_arm9); }