mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
hos: fix c/p error'
This commit is contained in:
parent
d236b88571
commit
a680b35e09
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ namespace ams::hos {
|
||||||
/* We can consider only recognizing major in the future, but micro seems safe to ignore as
|
/* We can consider only recognizing major in the future, but micro seems safe to ignore as
|
||||||
/* there are no breaking IPC changes in minor updates. */
|
/* there are no breaking IPC changes in minor updates. */
|
||||||
{
|
{
|
||||||
constexpr u32 MaxMajor = (static_cast<u32>(g_hos_version) >> 24) & 0xFF;
|
constexpr u32 MaxMajor = (static_cast<u32>(hos::Version_Max) >> 24) & 0xFF;
|
||||||
constexpr u32 MaxMinor = (static_cast<u32>(g_hos_version) >> 16) & 0xFF;
|
constexpr u32 MaxMinor = (static_cast<u32>(hos::Version_Max) >> 16) & 0xFF;
|
||||||
|
|
||||||
const u32 major = (static_cast<u32>(g_hos_version) >> 24) & 0xFF;
|
const u32 major = (static_cast<u32>(g_hos_version) >> 24) & 0xFF;
|
||||||
const u32 minor = (static_cast<u32>(g_hos_version) >> 16) & 0xFF;
|
const u32 minor = (static_cast<u32>(g_hos_version) >> 16) & 0xFF;
|
||||||
|
|
Loading…
Reference in a new issue