Services: Initialize all state variables at bootup.

This commit is contained in:
bunnei
2015-04-27 22:01:48 -04:00
parent bbabed8e98
commit e0cb85691a
8 changed files with 38 additions and 22 deletions

View File

@ -207,6 +207,7 @@ void Init() {
// Initialize the Username block
// TODO(Subv): Initialize this directly in the variable when MSVC supports char16_t string literals
memset(&CONSOLE_USERNAME_BLOCK, 0, sizeof(CONSOLE_USERNAME_BLOCK));
CONSOLE_USERNAME_BLOCK.ng_word = 0;
CONSOLE_USERNAME_BLOCK.zero = 0;
@ -219,7 +220,6 @@ void Init() {
}
void Shutdown() {
}
} // namespace CFG