From 412511f32a5cf976bc4d726f703c90bb48c90171 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 16 Oct 2018 17:30:24 -0700 Subject: [PATCH] Exosphere: Bump version to 0.7.0 --- exosphere/src/configitem.c | 6 +++++- exosphere/src/version.h | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/exosphere/src/configitem.c b/exosphere/src/configitem.c index 577f74502..d228b01a9 100644 --- a/exosphere/src/configitem.c +++ b/exosphere/src/configitem.c @@ -151,7 +151,11 @@ uint32_t configitem_get(ConfigItem item, uint64_t *p_outvalue) { break; case CONFIGITEM_EXOSPHERE_VERSION: /* UNOFFICIAL: Gets information about the current exosphere version. */ - *p_outvalue = (EXOSPHERE_RELEASE_VERSION_MAJOR << 24) | (EXOSPHERE_RELEASE_VERSION_MINOR << 16) | (exosphere_get_target_firmware() << 8) | (mkey_get_revision() << 0); + *p_outvalue = ((ATMOSPHERE_RELEASE_VERSION_MAJOR & 0xFF) << 24) | + ((ATMOSPHERE_RELEASE_VERSION_MINOR & 0xFF) << 16) | + ((ATMOSPHERE_RELEASE_VERSION_MICRO & 0x3F) << 10) | + ((exosphere_get_target_firmware() & 0x1F) << 6) | + ((mkey_get_revision() & 0x1F) << 0); break; default: result = 2; diff --git a/exosphere/src/version.h b/exosphere/src/version.h index 99200b843..8a1a4d3ed 100644 --- a/exosphere/src/version.h +++ b/exosphere/src/version.h @@ -17,7 +17,8 @@ #ifndef EXOSPHERE_VERSION_H #define EXOSPHERE_VERSION_H -#define EXOSPHERE_RELEASE_VERSION_MAJOR 0 -#define EXOSPHERE_RELEASE_VERSION_MINOR 1 +#define ATMOSPHERE_RELEASE_VERSION_MAJOR 0 +#define ATMOSPHERE_RELEASE_VERSION_MINOR 7 +#define ATMOSPHERE_RELEASE_VERSION_MICRO 0 #endif \ No newline at end of file