I noticed that when reading or writing to a save state, the core uses sizeof() to determine the number of bytes to read.
Â
This will make save states incompatible when compiled on a system where integers are not 4 bytes.
Â
Code: Select all
int utilReadInt(gzFile gzFile)
{
int i = 0;
utilGzRead(gzFile, &i, sizeof(int));
return i;
}