Add a setting to autosave the symbol map.
And move it into system, needs to be after the coreParameter too.
This commit is contained in:
parent
8155657ea3
commit
8f911a0ebe
8 changed files with 26 additions and 4 deletions
|
@ -76,6 +76,8 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
|||
mipsr4k.Reset();
|
||||
mipsr4k.pc = 0;
|
||||
|
||||
host->AttemptLoadSymbolMap();
|
||||
|
||||
if (coreParameter.enableSound)
|
||||
{
|
||||
mixer = new PSPMixer();
|
||||
|
@ -126,6 +128,9 @@ void PSP_Shutdown()
|
|||
|
||||
CoreTiming::Shutdown();
|
||||
|
||||
if (g_Config.bAutoSaveSymbolMap)
|
||||
host->SaveSymbolMap();
|
||||
|
||||
if (coreParameter.enableSound)
|
||||
{
|
||||
host->ShutdownSound();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue