Skip to content

Commit

Permalink
NES: Fixed missing save state flag when ppu warmup option is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Aug 10, 2023
1 parent 094d433 commit d357fd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Core/NES/NesPpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,8 @@ template<class T> void NesPpu<T>::Serialize(Serializer& s)
SV(_updateVramAddr);
SV(_updateVramAddrDelay);

SV(_allowFullPpuAccess);

for(int i = 0; i < _spriteCount; i++) {
SVI(_spriteTiles[i].SpriteX); SVI(_spriteTiles[i].LowByte); SVI(_spriteTiles[i].HighByte); SVI(_spriteTiles[i].PaletteOffset); SVI(_spriteTiles[i].HorizontalMirror); SVI(_spriteTiles[i].BackgroundPriority);
}
Expand Down

0 comments on commit d357fd1

Please sign in to comment.