mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
save battery levels to config
This commit is contained in:
@ -135,6 +135,10 @@ int MouseHideSeconds;
|
||||
|
||||
bool PauseLostFocus;
|
||||
|
||||
bool DSBatteryLevelOkay;
|
||||
int DSiBatteryLevel;
|
||||
bool DSiBatteryCharging;
|
||||
|
||||
|
||||
const char* kConfigFile = "melonDS.ini";
|
||||
|
||||
@ -305,6 +309,10 @@ ConfigEntry ConfigFile[] =
|
||||
{"MouseHideSeconds", 0, &MouseHideSeconds, 5},
|
||||
{"PauseLostFocus", 1, &PauseLostFocus, false},
|
||||
|
||||
{"DSBatteryLevelOkay", 1, &DSBatteryLevelOkay, true},
|
||||
{"DSiBatteryLevel", 0, &DSiBatteryLevel, 0xF},
|
||||
{"DSiBatteryCharging", 1, &DSiBatteryCharging, true},
|
||||
|
||||
{"", -1, nullptr, 0}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user