mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-31 00:51:17 +00:00
* (Non-trivial) fix to the "opStack corrupted in compiled code" bug
This commit is contained in:
parent
8295a83897
commit
35cb35ff61
5 changed files with 93 additions and 20 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue