Core: Fix unused variable warning.

This commit is contained in:
Unknown W. Brackets 2021-10-22 09:09:06 -07:00 committed by GitHub
parent 7d94f3777e
commit e094f5673a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,6 @@ void InitMemoryForGamePBP(FileLoader *fileLoader) {
UseLargeMem(paramSFO.GetValueInt("MEMSIZE"));
// Take this moment to bring over the title, if set.
bool updateTitle = false;
std::string title = paramSFO.GetValueString("TITLE");
if (g_paramSFO.GetValueString("TITLE").empty() && !title.empty()) {
g_paramSFO.SetValue("TITLE", title, (int)title.size());