mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Use the correct ID when creating game configs from the pause screen
This commit is contained in:
1 parent
14016f84df
commit
f89c169f8a
4 files changed
+7
-3
No files matched your search
+2
-1
@@ -780,7 +780,8 @@ void GamePauseScreen::CallbackDeleteConfig(bool yes) {
|
||||
UI::EventReturn GamePauseScreen::OnCreateConfig(UI::EventParams &e) {
|
||||
std::shared_ptr<GameInfo> info = g_gameInfoCache->GetInfo(NULL, gamePath_, GameInfoFlags::PARAM_SFO);
|
||||
if (info->Ready(GameInfoFlags::PARAM_SFO)) {
|
||||
std::string gameId = g_paramSFO.GetDiscID();
|
||||
ParamSFOData paramSFO = info->GetParamSFO();
|
||||
std::string gameId = paramSFO.GetDiscID(); // This will end up generating the fake ID properly.
|
||||
g_Config.createGameConfig(gameId);
|
||||
g_Config.changeGameSpecific(gameId, info->GetTitle());
|
||||
g_Config.saveGameConfig(gameId, info->GetTitle());
|
||||
|
||||
Reference in new issue
Block a user