mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
Created a minor version number
This commit is contained in:
parent
36f2b2218d
commit
5983285e4b
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,6 @@ static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
|
|||
#endif
|
||||
|
||||
char* get_version(void) {
|
||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d", VERSION_TEXT, VERSION_NUMBER);
|
||||
snprintf(sVersionString, MAX_VERSION_LENGTH, "%s%d.%d", VERSION_TEXT, VERSION_NUMBER, MINOR_VERSION_NUMBER);
|
||||
return sVersionString;
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#define UNSTABLE_BRANCH
|
||||
#define VERSION_NUMBER 25
|
||||
#define MINOR_VERSION_NUMBER 1
|
||||
|
||||
#define MAX_VERSION_LENGTH 10
|
||||
char* get_version(void);
|
||||
|
|
Loading…
Reference in a new issue