pcsx2: Don't store the GameDB serial in the key list

It's already available in the id field, so storing it again is a waste
of space and CPU cycles.
This commit is contained in:
Jonathan Li 2018-08-26 11:39:28 +01:00
parent 4dcb47d829
commit a922a0b1f5
1 changed files with 3 additions and 1 deletions

View File

@ -110,8 +110,10 @@ void DBLoaderHelper::ReadGames()
if (!extractMultiLine()) extract();
if (!m_keyPair.IsOk()) continue;
if (m_keyPair.CompareKey(m_gamedb.getBaseKey()))
if (m_keyPair.CompareKey(m_gamedb.getBaseKey())) {
game = m_gamedb.createNewGame(m_keyPair.value);
continue;
}
game->writeString( m_keyPair.key, m_keyPair.value );
}