mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +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
@@ -47,10 +47,7 @@ void TextureReplacer::Init() {
|
||||
}
|
||||
|
||||
void TextureReplacer::NotifyConfigChanged() {
|
||||
gameID_ = g_paramSFO.GetValueString("DISC_ID");
|
||||
if (gameID_.empty()) {
|
||||
gameID_ = g_paramSFO.GenerateFakeID();
|
||||
}
|
||||
gameID_ = g_paramSFO.GetDiscID();
|
||||
|
||||
enabled_ = g_Config.bReplaceTextures || g_Config.bSaveNewTextures;
|
||||
if (enabled_) {
|
||||
|
||||
Reference in new issue
Block a user