kernel: add warning message

This commit is contained in:
RadWolfie 2021-03-29 18:52:28 -05:00
parent 3ff7869331
commit 8a750fb4f2
1 changed files with 4 additions and 1 deletions

View File

@ -1520,7 +1520,10 @@ __declspec(noreturn) void CxbxKrnlInit
InitXboxThread();
g_AffinityPolicy->SetAffinityXbox();
xbox::ObInitSystem();
if (!xbox::ObInitSystem()) {
// TODO: Replace EmuLogEx to CxbxKrnlCleanupEx when ObInitSystem's calls are properly implement.
EmuLogEx(LOG_PREFIX_INIT, LOG_LEVEL::WARNING, "Unable to intialize xbox::ObInitSystem.");
}
xbox::KiInitSystem();
EmuX86_Init();