Show version on window title

This commit is contained in:
Agent X 2023-12-02 19:55:04 -05:00
parent 0481de1222
commit 07d3fe3b93
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ extern bool gCoopCompatibility;
#ifdef GIT_HASH
#define TITLE ({ char title[96] = ""; snprintf(title, 96, "sm64coopdx [%s]", GIT_HASH); title; })
#else
#define TITLE "sm64coopdx"
#define TITLE ({ char title[96] = ""; snprintf(title, 96, "sm64coopdx %s", SM64COOPDX_VERSION); title; })
#endif
#define AT_STARTUP __attribute__((constructor))