Fixing null pointer access

This commit is contained in:
Alex 2023-03-08 04:55:58 +02:00
parent eb93510e53
commit 102da7b7ec
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -79,7 +79,12 @@ namespace Recovery
} }
} }
void RecoveryThreadWrapper() { RecoveryScreen->RecoveryThread(); } void RecoveryThreadWrapper()
{
while (!RecoveryScreen)
CPU::Pause();
RecoveryScreen->RecoveryThread();
}
void RebootCommandThread() void RebootCommandThread()
{ {