Exosphere: Bump version to 0.7.0

This commit is contained in:
Michael Scire 2018-10-16 17:30:24 -07:00
parent 2f29bcef3a
commit 412511f32a
2 changed files with 8 additions and 3 deletions

View file

@ -151,7 +151,11 @@ uint32_t configitem_get(ConfigItem item, uint64_t *p_outvalue) {
break; break;
case CONFIGITEM_EXOSPHERE_VERSION: case CONFIGITEM_EXOSPHERE_VERSION:
/* UNOFFICIAL: Gets information about the current 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; break;
default: default:
result = 2; result = 2;

View file

@ -17,7 +17,8 @@
#ifndef EXOSPHERE_VERSION_H #ifndef EXOSPHERE_VERSION_H
#define EXOSPHERE_VERSION_H #define EXOSPHERE_VERSION_H
#define EXOSPHERE_RELEASE_VERSION_MAJOR 0 #define ATMOSPHERE_RELEASE_VERSION_MAJOR 0
#define EXOSPHERE_RELEASE_VERSION_MINOR 1 #define ATMOSPHERE_RELEASE_VERSION_MINOR 7
#define ATMOSPHERE_RELEASE_VERSION_MICRO 0
#endif #endif