isMariko check fix

This commit is contained in:
KazushiM
2021-09-12 13:08:27 +08:00
parent de9f7b7478
commit 584e8d8665
4 changed files with 21 additions and 31 deletions

View File

@@ -62,26 +62,6 @@ void Clocks::Initialize()
rc = tcInitialize();
ASSERT_RESULT_OK(rc, "tcInitialize");
}
// Check if it's Mariko
u64 hardware_type = 0;
splInitialize();
splGetConfig(SplConfigItem_HardwareType, &hardware_type);
splExit();
switch(hardware_type) {
case 0: //Icosa
case 1: //Copper
break;
case 2: //Hoag
case 3: //Iowa
case 4: //Calcio
case 5: //Aula
isMariko = true;
break;
default:
break;
}
}
void Clocks::Exit()