mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 06:30:05 +00:00
configure_system: Default initialize member variables
These should be initialized to deterministic values so it's easier to catch improper behavior, as it'll always be reproducable, instead of performing uninitialized reads.
This commit is contained in:
parent
470cc66049
commit
a74d97b15f
@ -38,13 +38,14 @@ private:
|
|||||||
void RefreshConsoleID();
|
void RefreshConsoleID();
|
||||||
|
|
||||||
std::unique_ptr<Ui::ConfigureSystem> ui;
|
std::unique_ptr<Ui::ConfigureSystem> ui;
|
||||||
bool enabled;
|
bool enabled = false;
|
||||||
|
|
||||||
std::shared_ptr<Service::CFG::Module> cfg;
|
std::shared_ptr<Service::CFG::Module> cfg;
|
||||||
std::u16string username;
|
std::u16string username;
|
||||||
int birthmonth, birthday;
|
int birthmonth = 0;
|
||||||
int language_index;
|
int birthday = 0;
|
||||||
int sound_index;
|
int language_index = 0;
|
||||||
|
int sound_index = 0;
|
||||||
u8 country_code;
|
u8 country_code;
|
||||||
u16 play_coin;
|
u16 play_coin;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user