mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #553 from AdmiralCurtiss/game-database-writer-fix
Fix off-by-one error in the Game Database Editor (unused legacy code).
This commit is contained in:
commit
ff7aeb7808
|
@ -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