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
@@ -172,9 +172,9 @@ int BaseRuntime::CreateFromMemory(sp_file_hdr_t *hdr, uint8_t *base)
if (!(m_plugin.pcode) && !strcmp(nameptr, ".code")) {
sp_file_code_t *cod = (sp_file_code_t *)(base + secptr->dataoffs);
if (cod->codeversion < SmxConsts::CODE_VERSION_JIT1)
if (cod->codeversion < SmxConsts::CODE_VERSION_SP1_MIN)
return SP_ERROR_CODE_TOO_OLD;
if (cod->codeversion > SmxConsts::CODE_VERSION_JIT2)
if (cod->codeversion > SmxConsts::CODE_VERSION_SP1_MAX)
return SP_ERROR_CODE_TOO_NEW;
m_plugin.pcode = base + secptr->dataoffs + cod->code;
+1 -1
View File
@@ -147,7 +147,7 @@ void SourcePawnEngine2::DestroyFakeNative(SPVM_NATIVE_FUNC func)
const char *SourcePawnEngine2::GetEngineName()
{
return "SourcePawn 1.3, jit-x86";
return "SourcePawn 1.7, jit-x86";
}
const char *SourcePawnEngine2::GetVersionString()