diff --git a/src/core/game_list.cpp b/src/core/game_list.cpp index b99c69aa8..cbdc3878b 100644 --- a/src/core/game_list.cpp +++ b/src/core/game_list.cpp @@ -52,7 +52,7 @@ namespace { enum : u32 { GAME_LIST_CACHE_SIGNATURE = 0x45434C48, - GAME_LIST_CACHE_VERSION = 38, + GAME_LIST_CACHE_VERSION = 39, PLAYED_TIME_SERIAL_LENGTH = 32, PLAYED_TIME_LAST_TIME_LENGTH = 20, // uint64 @@ -478,7 +478,7 @@ bool GameList::WriteEntryToCache(const Entry* entry, const std::string& entry_pa writer.WriteU8(static_cast(entry->region)); writer.WriteSizePrefixedString(entry_path); writer.WriteSizePrefixedString(entry->serial); - writer.WriteSizePrefixedString(entry->title); + writer.WriteSizePrefixedString(entry->has_custom_title ? std::string_view() : std::string_view(entry->title)); writer.WriteU64(entry->hash); writer.WriteS64(entry->file_size); writer.WriteU64(entry->uncompressed_size); diff --git a/src/duckstation-qt/gamesummarywidget.cpp b/src/duckstation-qt/gamesummarywidget.cpp index 8a390fdc4..f3ee25a60 100644 --- a/src/duckstation-qt/gamesummarywidget.cpp +++ b/src/duckstation-qt/gamesummarywidget.cpp @@ -266,14 +266,12 @@ void GameSummaryWidget::populateCustomAttributes() return; } - if (entry->has_custom_title) { QSignalBlocker sb(m_ui.title); m_ui.title->setText(QtUtils::StringViewToQString(entry->GetDisplayTitle(GameList::ShouldShowLocalizedTitles()))); } m_ui.restoreTitle->setEnabled(entry->has_custom_title); - if (entry->has_custom_region) { QSignalBlocker sb(m_ui.region); m_ui.region->setCurrentIndex(static_cast(entry->region));