Merge pull request #6 from SergioMartin86/minorfixes2

Small fix in the full deserialization routine
This commit is contained in:
Sergio Martin 2024-01-22 17:01:58 +01:00 committed by GitHub
commit fdb48a8fe6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -677,6 +677,7 @@ size_t serializeLiteState(uint8_t *buffer) const
blockSize = ppu.chr_size; blockSize = ppu.chr_size;
memcpy((void *)ppu.impl->chr_ram, &buffer[pos], blockSize); memcpy((void *)ppu.impl->chr_ram, &buffer[pos], blockSize);
pos += blockSize; pos += blockSize;
ppu.all_tiles_modified();
} }
} }