From 108b817c70b293f4c4a5138dbd7ca204331a335a Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Fri, 11 Dec 2020 16:05:00 -0500 Subject: [PATCH 1/2] Bug fix for numeric version code. Set correctly for upcoming new release 2.3.0 --- src/version.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/version.h b/src/version.h index 5cbfe854..3d65c382 100644 --- a/src/version.h +++ b/src/version.h @@ -60,8 +60,16 @@ #define FCEU_COMPILER_DETAIL "" #endif -#define FCEU_VERSION_NUMERIC 22020 -#define FCEU_VERSION_STRING "2.3.0" FCEU_SUBVERSION_STRING FCEU_FEATURE_STRING FCEU_COMPILER +#define FCEU_VERSION_MAJOR 2 +#define FCEU_VERSION_MINOR 3 +#define FCEU_VERSION_PATCH 0 + +#define FCEU_VERSION_NUMERIC ( (FCEU_VERSION_MAJOR*10000) + (FCEU_VERSION_MINOR*100) + (FCEU_VERSION_PATCH) ) +#define FCEU_VERSION_MAJOR_DECODE(x) ( (x / 10000) ) +#define FCEU_VERSION_MINOR_DECODE(x) ( (x / 100) % 100 ) +#define FCEU_VERSION_PATCH_DECODE(x) (x % 100) + +#define FCEU_VERSION_STRING "2.3.0" FCEU_SUBVERSION_STRING FCEU_FEATURE_STRING FCEU_COMPILER #define FCEU_NAME_AND_VERSION FCEU_NAME " " FCEU_VERSION_STRING #endif From 7c13a850568ae705283a251fae87ba346c359bf4 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Fri, 11 Dec 2020 16:08:00 -0500 Subject: [PATCH 2/2] Updated readme.md in preparation for new release. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 149e46f9..fc3420fb 100644 --- a/readme.md +++ b/readme.md @@ -17,4 +17,4 @@ You should get releases from here: https://sourceforge.net/projects/fceultra/fil That's because github forces us to use tags we don't have for releases. -2.2.3 is the most recent release but most people are using the autobuilds. +2.3.0 is the most recent release but most people are using the autobuilds.