mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Endian fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1199 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
65f5f857dc
commit
eb69ef9547
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,7 @@ void Sys_UnloadDLL(void *handle)
|
|||
|
||||
// ------------------------- * QVM files * -------------------------
|
||||
#define VM_MAGIC 0x12721444
|
||||
#define LL LittleLong
|
||||
#define LL(x) x = LittleLong(x)
|
||||
|
||||
#pragma pack(push,1)
|
||||
typedef struct vmHeader_s
|
||||
|
@ -388,6 +388,7 @@ qvm_t *QVM_Load(const char *name, sys_callex_t syscall)
|
|||
LL(header->instructionCount);
|
||||
LL(header->codeOffset);
|
||||
LL(header->codeLength);
|
||||
LL(header->dataOffset);
|
||||
LL(header->dataLength);
|
||||
LL(header->litLength);
|
||||
LL(header->bssLength);
|
||||
|
|
Loading…
Reference in a new issue