mirror of https://github.com/PCSX2/pcsx2.git
AppGameDatabase: Fix off-by-one error when writing changes in the Game Database dialog.
Did no one ever use this feature? If git blame is accurate this has been in the codebase since 2011...
This commit is contained in:
parent
2704a65f57
commit
e31a2c0733
|
@ -209,7 +209,7 @@ void AppGameDatabase::SaveToFile(const wxString& file) {
|
|||
|
||||
const uint endidx = (blockidx == m_BlockTableWritePos) ? m_CurBlockWritePos : m_GamesPerBlock;
|
||||
|
||||
for( uint gameidx=0; gameidx<=endidx; ++gameidx )
|
||||
for( uint gameidx=0; gameidx<endidx; ++gameidx )
|
||||
{
|
||||
const Game_Data& game( m_BlockTable[blockidx][gameidx] );
|
||||
|
||||
|
|
Loading…
Reference in New Issue