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:
Unknown W. Brackets committed 2013-03-30 22:28:55 -07:00
1 parent 8155657ea3
commit 8f911a0ebe
8 files changed
+26 -4

No files matched your search

+5
View File
@@ -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();