mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 11:46:54 +00:00
parent
6582e62e14
commit
58ea0648e5
@ -733,7 +733,10 @@ void Serializer::saveArrayOf(void *b, int len, int datasize, byte filetype)
|
||||
}
|
||||
|
||||
while (--len >= 0) {
|
||||
if (datasize == 1) {
|
||||
if (datasize == 0) {
|
||||
// Do nothing for obsolete data
|
||||
data = 0;
|
||||
} else if (datasize == 1) {
|
||||
data = *(byte *)at;
|
||||
at += 1;
|
||||
} else if (datasize == 2) {
|
||||
|
Loading…
Reference in New Issue
Block a user