Core: Refactor repeating disc id homebrew code.

This commit is contained in:
Unknown W. Brackets committed 2017-06-03 15:29:08 -07:00
1 parent dca75437c3
commit 41b485aa0a
8 files changed
+15 -32

No files matched your search

+1 -4
View File
@@ -713,10 +713,7 @@ void TakeScreenshot() {
// First, find a free filename.
int i = 0;
std::string gameId = g_paramSFO.GetValueString("DISC_ID");
if (gameId.empty()) {
gameId = g_paramSFO.GenerateFakeID();
}
std::string gameId = g_paramSFO.GetDiscID();
char filename[2048];
while (i < 10000){