chihiro: emulate a chihiro system when boot.id is present
This commit is contained in:
parent
3edd8d168b
commit
9a58823b70
|
@ -627,6 +627,7 @@ static bool CxbxrKrnlXbeSystemSelector(int BootFlags,
|
|||
// Detect XBE type :
|
||||
XbeType xbeType = CxbxKrnl_Xbe->GetXbeType();
|
||||
EmuLogInit(LOG_LEVEL::INFO, "Auto detect: XbeType = %s", GetXbeTypeToStr(xbeType));
|
||||
|
||||
// Convert XBE type into corresponding system to emulate.
|
||||
switch (xbeType) {
|
||||
case XbeType::xtChihiro:
|
||||
|
@ -640,6 +641,10 @@ static bool CxbxrKrnlXbeSystemSelector(int BootFlags,
|
|||
break;
|
||||
DEFAULT_UNREACHABLE;
|
||||
}
|
||||
|
||||
if (std::filesystem::exists(xbeDirectory / "boot.id")) {
|
||||
emulate_system = SYSTEM_CHIHIRO;
|
||||
}
|
||||
}
|
||||
|
||||
EmuLogInit(LOG_LEVEL::INFO, "Host's compatible system types: %2X", reserved_systems);
|
||||
|
|
Loading…
Reference in New Issue