mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Core: Refactor repeating disc id homebrew code.
This commit is contained in:
1 parent
dca75437c3
commit
41b485aa0a
8 files changed
+15
-32
No files matched your search
@@ -1336,10 +1336,7 @@ UI::EventReturn DeveloperToolsScreen::OnLoadLanguageIni(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
UI::EventReturn DeveloperToolsScreen::OnOpenTexturesIniFile(UI::EventParams &e) {
|
||||
std::string gameID = g_paramSFO.GetValueString("DISC_ID");
|
||||
if (gameID.empty()) {
|
||||
gameID = g_paramSFO.GenerateFakeID();
|
||||
}
|
||||
std::string gameID = g_paramSFO.GetDiscID();
|
||||
std::string texturesDirectory = GetSysDirectory(DIRECTORY_TEXTURES) + gameID + "/";
|
||||
bool enabled_ = !gameID.empty();
|
||||
if (enabled_) {
|
||||
|
||||
Reference in new issue
Block a user