mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Fingolfin, now I am really disappointed with you that you didn't see this bug... ;)
svn-id: r10252
This commit is contained in:
parent
c902282a05
commit
fd7727e9d2
@ -408,8 +408,10 @@ static void convertEndian(uint8 *file, uint32 len) {
|
||||
}
|
||||
|
||||
uint16 *node = (uint16 *) (file + sizeof(_walkGridHeader) + walkGridHeader->numBars * sizeof(_barData));
|
||||
for (i = 0; i < walkGridHeader->numNodes*2; i++)
|
||||
*node = SWAP_BYTES_16(*node++);
|
||||
for (i = 0; i < walkGridHeader->numNodes*2; i++) {
|
||||
SWAP16(*node);
|
||||
node++;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user