exclude bootmii-boot2 in vWii build also in load/save.cpp

This commit is contained in:
Christopher Roy Bratusek 2013-01-01 11:52:27 +01:00
parent 569c321405
commit 198774d7b8
4 changed files with 7 additions and 5 deletions

Binary file not shown.

View File

@ -105,10 +105,10 @@ void load()
if(get_setting(source, "sdgecko") != "")
Options.sdgecko = atoi(get_setting(source, "sdgecko").c_str());
if(get_setting(source, "bootmii_boot2") != "")
Options.bootmii_boot2 = atoi(get_setting(source, "bootmii_boot2").c_str());
#ifndef VWII
if(get_setting(source, "bootmii_boot2") != "")
Options.bootmii_boot2 = atoi(get_setting(source, "bootmii_boot2").c_str());
#endif
if(get_setting(source, "network") != "")
{
Options.network = atoi(get_setting(source, "network").c_str());

View File

@ -102,7 +102,9 @@ void save()
save_settings << "quick_start = \"" << Options.quick_start << "\"" << endl;
save_settings << "show_all = \"" << Options.show_all << "\"" << endl;
save_settings << "sdgecko = \"" << Options.sdgecko << "\"" << endl;
save_settings << "bootmii_boot2 = \"" << Options.bootmii_boot2 << "\"" << endl;
#ifndef VWII
save_settings << "bootmii_boot2 = \"" << Options.bootmii_boot2 << "\"" << endl;
#endif
save_settings << "navigation = \"" << Options.navigation << "\"" << endl;
save_settings << "network = \"" << Options.network << "\"" << endl;
save_settings << "wifigecko = \"" << Options.wifigecko << "\"" << endl;