Bump SourcePawn version to 1.7 to match SourceMod.

This commit is contained in:
David Anderson
2014-08-23 19:26:51 -07:00
parent 078ee76491
commit d230711e4d
6 changed files with 17 additions and 11 deletions
+2 -2
View File
@@ -882,8 +882,8 @@ static void assemble_to_buffer(MemoryBuffer *buffer, void *fin)
// Set up the code section.
code->header().codesize = code_buffer.length() * sizeof(cell);
code->header().cellsize = sizeof(cell);
code->header().codeversion = SmxConsts::CODE_VERSION_JIT2;
code->header().flags = 0; // :TODO: CODEFLAG_DEBUG;
code->header().codeversion = SmxConsts::CODE_VERSION_JIT_1_1;
code->header().flags = CODEFLAG_DEBUG;
code->header().main = 0;
code->header().code = sizeof(sp_file_code_t);
code->setBlob((uint8_t *)code_buffer.buffer(), code_buffer.length() * sizeof(cell));