mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
4dcb47d829
commit
a922a0b1f5
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue