mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-31 10:32:30 +00:00
Add a comment. See issue #12365
This commit is contained in:
parent
9c4649d3ac
commit
701d740207
@ -288,6 +288,7 @@ int PlayBackgroundAudio() {
|
||||
if (!g_gameInfoCache)
|
||||
return 0; // race condition?
|
||||
|
||||
// This is very unsafe! TODO: Get rid of this somehow or make threadsafe!
|
||||
std::shared_ptr<GameInfo> gameInfo = g_gameInfoCache->GetInfo(NULL, bgGamePath, GAMEINFO_WANTSND);
|
||||
if (!gameInfo)
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user