Skip to content
Permalink
Browse files

Kernel: Shutdown when module load fails.

This prevents us from trying to reinit next time, which can crash since we
never finished initing in the first place.
  • Loading branch information...
unknownbrackets committed Jul 8, 2019
1 parent 7de4640 commit 556b96035535bbe191b73eec66f18e227d6ecbaf
Showing with 1 addition and 0 deletions.
  1. +1 −0 Core/HLE/sceKernelModule.cpp
@@ -1626,6 +1626,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
if (param_argp) delete[] param_argp;
if (param_key) delete[] param_key;
}
__KernelShutdown();
return false;
}

0 comments on commit 556b960

Please sign in to comment.
You can’t perform that action at this time.