mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Exosphere: Bump version to 0.7.0
This commit is contained in:
parent
2f29bcef3a
commit
412511f32a
2 changed files with 8 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue