commandline: initialize autodetect_method to 0
CommonSettings.autodetectBackupMethod is already initialized to 0 so nothing will change. This silence a silly warning in (at least) gtk frontend.
This commit is contained in:
parent
3fcb0a78d3
commit
9b241b9033
|
@ -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); }
|
||||
|
|
Loading…
Reference in New Issue