mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Clear the symbol map in LoadExec. Fixes some hangs on switching games,
unclear why.
This commit is contained in:
parent
07c818251c
commit
6c3f2155c7
1 changed files with 2 additions and 2 deletions
|
@ -1200,8 +1200,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
|||
}
|
||||
|
||||
// Wipe kernel here, loadexec should reset the entire system
|
||||
if (__KernelIsRunning())
|
||||
{
|
||||
if (__KernelIsRunning()) {
|
||||
__KernelShutdown();
|
||||
//HLE needs to be reset here
|
||||
HLEShutdown();
|
||||
|
@ -1228,6 +1227,7 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str
|
|||
|
||||
pspFileSystem.ReadFile(handle, temp, (size_t)info.size);
|
||||
|
||||
symbolMap.Clear();
|
||||
Module *module = __KernelLoadModule(temp, 0, error_string);
|
||||
|
||||
if (!module || module->isFake) {
|
||||
|
|
Loading…
Add table
Reference in a new issue