mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-11 16:50:05 +01:00
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
1 file changed
+1
-1
@@ -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] );
|
||||
|
||||
|
||||
Reference in new issue
Block a user