* (Non-trivial) fix to the "opStack corrupted in compiled code" bug

This commit is contained in:
Tim Angus committed 2005-10-13 14:47:00 +00:00
1 parent 8295a83897
commit 35cb35ff61
5 files changed
+93 -20

No files matched your search

+5 -1
View File
@@ -43,7 +43,8 @@ QVM files
========================================================================
*/
#define VM_MAGIC 0x12721444
#define VM_MAGIC 0x12721444
#define VM_MAGIC_VER2 0x12721445
typedef struct {
int vmMagic;
@@ -56,6 +57,9 @@ typedef struct {
int dataLength;
int litLength; // ( dataLength - litLength ) should be byteswapped on load
int bssLength; // zero filled memory appended to datalength
//!!! below here is VM_MAGIC_VER2 !!!
int jtrgLength; // number of jump table targets
} vmHeader_t;