[Scummvm-cvs-logs] CVS: scummvm/sword1 resman.cpp,1.21,1.22
Chris Apers
chrilith at users.sourceforge.net
Thu Oct 21 06:30:08 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword1 control.h,1.15,1.16 debug.cpp,1.3,1.4 eventman.cpp,1.4,1.5 eventman.h,1.3,1.4 logic.cpp,1.38,1.39 logic.h,1.11,1.12 memman.cpp,1.5,1.6 menu.cpp,1.20,1.21 menu.h,1.8,1.9 mouse.cpp,1.24,1.25 mouse.h,1.13,1.14 music.cpp,1.29,1.30 objectman.cpp,1.8,1.9 objectman.h,1.7,1.8 resman.h,1.8,1.9 router.cpp,1.10,1.11 router.h,1.6,1.7 screen.h,1.16,1.17 sound.cpp,1.31,1.32 sword1.cpp,1.55,1.56 sword1.h,1.14,1.15 text.cpp,1.8,1.9 text.h,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/kyra codecs.cpp,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30012
Modified Files:
resman.cpp
Log Message:
Ooops
Index: resman.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/resman.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- resman.cpp 21 Oct 2004 12:37:13 -0000 1.21
+++ resman.cpp 21 Oct 2004 13:23:52 -0000 1.22
@@ -308,9 +308,9 @@
MemHandle *handle = resHandle(id);
// uint32 totSize = handle->size;
Header *head = (Header*)handle->data;
- head->comp_length = READ_LE_UINT32(&head->comp_length);
- head->decomp_length = READ_LE_UINT32(&head->decomp_length);
- head->version = READ_LE_UINT16(&head->version);
+ head->comp_length = FROM_LE_32(head->comp_length);
+ head->decomp_length = FROM_LE_32(head->decomp_length);
+ head->version = FROM_LE_16(head->version);
uint32 *data = (uint32*)((uint8*)handle->data + sizeof(Header));
uint32 size = handle->size - sizeof(Header);
if (size & 3)
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sword1 control.h,1.15,1.16 debug.cpp,1.3,1.4 eventman.cpp,1.4,1.5 eventman.h,1.3,1.4 logic.cpp,1.38,1.39 logic.h,1.11,1.12 memman.cpp,1.5,1.6 menu.cpp,1.20,1.21 menu.h,1.8,1.9 mouse.cpp,1.24,1.25 mouse.h,1.13,1.14 music.cpp,1.29,1.30 objectman.cpp,1.8,1.9 objectman.h,1.7,1.8 resman.h,1.8,1.9 router.cpp,1.10,1.11 router.h,1.6,1.7 screen.h,1.16,1.17 sound.cpp,1.31,1.32 sword1.cpp,1.55,1.56 sword1.h,1.14,1.15 text.cpp,1.8,1.9 text.h,1.3,1.4
- Next message: [Scummvm-cvs-logs] CVS: scummvm/kyra codecs.cpp,1.3,1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list