mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01:00
atmosphere: add define for supported hos version
This commit is contained in:
parent
be772b40e1
commit
aaabb4bfc4
@ -21,4 +21,8 @@
|
||||
#define ATMOSPHERE_RELEASE_VERSION_MINOR 8
|
||||
#define ATMOSPHERE_RELEASE_VERSION_MICRO 4
|
||||
|
||||
#define ATMOSPHERE_SUPPORTED_HOS_VERSION_MAJOR 7
|
||||
#define ATMOSPHERE_SUPPORTED_HOS_VERSION_MINOR 0
|
||||
#define ATMOSPHERE_SUPPORTED_HOS_VERSION_MICRO 1
|
||||
|
||||
#endif
|
@ -76,7 +76,7 @@ _metadata:
|
||||
.word (_crt0 - _start)
|
||||
.word (_content_headers - _start)
|
||||
.word (_content_headers_end - _content_headers) / 0x20 /* Number of content headers */
|
||||
.word 0x00010007 /* Maximum known supported HOS version: 7.0.1 */
|
||||
.word ((ATMOSPHERE_SUPPORTED_HOS_VERSION_MAJOR << 24) | (ATMOSPHERE_SUPPORTED_HOS_VERSION_MINOR << 16) | (ATMOSPHERE_SUPPORTED_HOS_VERSION_MICRO << 8) | (0x0))
|
||||
.word ((ATMOSPHERE_RELEASE_VERSION_MAJOR << 24) | (ATMOSPHERE_RELEASE_VERSION_MINOR << 16) | (ATMOSPHERE_RELEASE_VERSION_MICRO << 8) | (0x0))
|
||||
#define TO_WORD(x) TO_WORD_(x)
|
||||
#define TO_WORD_(x) 0x##x
|
||||
|
Loading…
Reference in New Issue
Block a user