Convenience check-in (makes configSys an iota less buggy)
This commit is contained in:
parent
81d1a6c7eb
commit
fd67041d4e
|
@ -662,7 +662,7 @@ Config::save()
|
||||||
int_i->first.c_str(), int_i->second);
|
int_i->first.c_str(), int_i->second);
|
||||||
config.write(buf, strlen(buf));
|
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",
|
snprintf(buf, 1024, "%s = %f\n",
|
||||||
dbl_i->first.c_str(), dbl_i->second);
|
dbl_i->first.c_str(), dbl_i->second);
|
||||||
config.write(buf, strlen(buf));
|
config.write(buf, strlen(buf));
|
||||||
|
|
|
@ -290,7 +290,7 @@ DriverInitialize(FCEUGI *gi)
|
||||||
static void
|
static void
|
||||||
DriverKill()
|
DriverKill()
|
||||||
{
|
{
|
||||||
//SaveConfig();
|
//g_config->save();
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
// XXX soules - capturing all these signals seems pointless
|
// XXX soules - capturing all these signals seems pointless
|
||||||
|
|
Loading…
Reference in New Issue