mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
This commit is contained in:
1 parent
5f761c346b
commit
da1a04be8d
18 files changed
+73
-64
No files matched your search
+2
-2
@@ -89,7 +89,7 @@ void EmuScreen::bootGame(const std::string &filename) {
|
||||
}
|
||||
|
||||
//pre-emptive loading of game specific config if possible, to get all the settings
|
||||
GameInfo *info = g_gameInfoCache.GetInfo(NULL, filename, 0);
|
||||
GameInfo *info = g_gameInfoCache->GetInfo(NULL, filename, 0);
|
||||
if (info && !info->id.empty()) {
|
||||
g_Config.loadGameConfig(info->id);
|
||||
}
|
||||
@@ -139,7 +139,7 @@ void EmuScreen::bootComplete() {
|
||||
host->BootDone();
|
||||
host->UpdateDisassembly();
|
||||
|
||||
g_gameInfoCache.FlushBGs();
|
||||
g_gameInfoCache->FlushBGs();
|
||||
|
||||
NOTICE_LOG(BOOT, "Loading %s...", PSP_CoreParameter().fileToStart.c_str());
|
||||
autoLoad();
|
||||
|
||||
Reference in new issue
Block a user