Lie about VERSION_TEXT for OMM backwards compatibility

This commit is contained in:
MysterD 2023-11-24 19:36:13 -08:00 committed by Agent X
parent a67395a860
commit fbd55651ad
4 changed files with 6 additions and 3 deletions

View File

@ -12431,4 +12431,4 @@ VERSION_REGION = "SH"
VERSION_REGION = "US"
--- @type string
VERSION_TEXT = "v"
VERSION_TEXT = "beta"

View File

@ -4329,7 +4329,7 @@ char gSmluaConstants[] = ""
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
"SM64COOPDX_VERSION = 'v0.1'\n"
"VERSION_TEXT = 'v'\n"
"VERSION_TEXT = 'beta'\n"
"VERSION_NUMBER = 36\n"
"MINOR_VERSION_NUMBER = 0\n"
"PATCH_VERSION_NUMBER = 0\n"

View File

@ -3,6 +3,9 @@
#include "types.h"
#include "pc/pc_main.h"
#undef VERSION_TEXT
#define VERSION_TEXT "v"
static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 };

View File

@ -3,7 +3,7 @@
#define SM64COOPDX_VERSION "v0.1"
#define VERSION_TEXT "v"
#define VERSION_TEXT "beta"
#define VERSION_NUMBER 36
#define MINOR_VERSION_NUMBER 0
#define PATCH_VERSION_NUMBER 0