Convenience check-in (makes configSys an iota less buggy)

This commit is contained in:
jeblanchard 2008-06-09 11:58:21 +00:00
parent 81d1a6c7eb
commit fd67041d4e
2 changed files with 12 additions and 12 deletions

View File

@ -662,7 +662,7 @@ Config::save()
int_i->first.c_str(), int_i->second);
config.write(buf, strlen(buf));
}
for(dbl_i = _dblOptMap.begin(); dbl_i != _dblOptMap.end(); int_i++) {
for(dbl_i = _dblOptMap.begin(); dbl_i != _dblOptMap.end(); dbl_i++) {
snprintf(buf, 1024, "%s = %f\n",
dbl_i->first.c_str(), dbl_i->second);
config.write(buf, strlen(buf));

View File

@ -290,7 +290,7 @@ DriverInitialize(FCEUGI *gi)
static void
DriverKill()
{
//SaveConfig();
//g_config->save();
#ifndef WIN32
// XXX soules - capturing all these signals seems pointless