mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
bug in save/loader
svn-id: r3481
This commit is contained in:
parent
67eec161ea
commit
2a7540043c
@ -618,7 +618,8 @@ void Serializer::saveLoadArrayOf(void *b, int len, int datasize, byte filetype)
|
||||
|
||||
void Serializer::saveLoadArrayOf(void *b, int num, int datasize, const SaveLoadEntry *sle) {
|
||||
byte *data = (byte*)b;
|
||||
while (--num) {
|
||||
|
||||
while (--num>=0) {
|
||||
saveLoadEntries(data, sle);
|
||||
data += datasize;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user