HLE: Properly initialize and shutdown remaining modules.

This commit is contained in:
bunnei 2015-04-27 22:45:43 -04:00
parent bab5abaf46
commit d3c2f9a4a4
5 changed files with 20 additions and 3 deletions

View file

@ -61,6 +61,8 @@ template void Read<u16>(u16 &var, const u32 addr);
template void Read<u8>(u8 &var, const u32 addr);
void Init() {
memset(&config_mem, 0, sizeof(config_mem));
config_mem.update_flag = 0; // No update
config_mem.sys_core_ver = 0x2;
config_mem.unit_info = 0x1; // Bit 0 set for Retail
@ -76,4 +78,7 @@ void Init() {
config_mem.firm_sys_core_ver = 0x2;
}
void Shutdown() {
}
} // namespace