1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00

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;
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;

View file

@ -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