mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Clear the debug symbol map on shutdown.
Instead of polluting the next game.
This commit is contained in:
parent
44e20fb213
commit
1beb19f827
3 changed files with 8 additions and 0 deletions
|
@ -296,6 +296,7 @@ void __KernelModuleShutdown()
|
|||
{
|
||||
unresolvedVars.clear();
|
||||
exportedVars.clear();
|
||||
MIPSAnalyst::Shutdown();
|
||||
}
|
||||
|
||||
void WriteVarSymbol(u32 exportAddress, u32 relocAddress, u8 type)
|
||||
|
|
|
@ -264,6 +264,12 @@ namespace MIPSAnalyst
|
|||
|
||||
map<u32, Function*> hashToFunction;
|
||||
|
||||
void Shutdown()
|
||||
{
|
||||
functions.clear();
|
||||
hashToFunction.clear();
|
||||
}
|
||||
|
||||
// hm pointless :P
|
||||
void UpdateHashToFunctionMap()
|
||||
{
|
||||
|
|
|
@ -62,5 +62,6 @@ namespace MIPSAnalyst
|
|||
bool IsDelaySlotNiceFPU(u32 branchOp, u32 op);
|
||||
bool IsSyscall(u32 op);
|
||||
|
||||
void Shutdown();
|
||||
|
||||
} // namespace MIPSAnalyst
|
||||
|
|
Loading…
Add table
Reference in a new issue