When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
This commit is contained in:
parent
60378a0dcb
commit
df6ce90c84
16 changed files with 73 additions and 81 deletions
|
@ -49,7 +49,7 @@ CwCheatScreen::CwCheatScreen(std::string gamePath)
|
|||
}
|
||||
|
||||
void CwCheatScreen::CreateCodeList() {
|
||||
GameInfo *info = g_gameInfoCache->GetInfo(NULL, gamePath_, 0);
|
||||
std::shared_ptr<GameInfo> info = g_gameInfoCache->GetInfo(NULL, gamePath_, 0);
|
||||
if (info && info->paramSFOLoaded) {
|
||||
gameTitle = info->paramSFO.GetValueString("DISC_ID");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue