mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-06 11:01:38 +12:00
Make battery stuff configurable
This commit is contained in:
parent
950e5da03a
commit
51b2b8eee5
9 changed files with 36 additions and 12 deletions
|
@ -9,6 +9,10 @@ struct EmulatorConfig {
|
|||
bool discordRpcEnabled = false;
|
||||
RendererType rendererType = RendererType::OpenGL;
|
||||
|
||||
bool chargerPlugged = true;
|
||||
// Default to 3% battery to make users suffer
|
||||
int batteryPercentage = 3;
|
||||
|
||||
EmulatorConfig(const std::filesystem::path& path);
|
||||
void load(const std::filesystem::path& path);
|
||||
void save(const std::filesystem::path& path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue