From a680b35e09d9c87b11121c32990e7cbfcfb4ab88 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 14 Jun 2020 22:53:39 -0700 Subject: [PATCH] hos: fix c/p error' --- libraries/libstratosphere/source/hos/hos_version_api.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libstratosphere/source/hos/hos_version_api.cpp b/libraries/libstratosphere/source/hos/hos_version_api.cpp index 02ec4d6f3..af867f7e5 100644 --- a/libraries/libstratosphere/source/hos/hos_version_api.cpp +++ b/libraries/libstratosphere/source/hos/hos_version_api.cpp @@ -43,8 +43,8 @@ namespace ams::hos { /* 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. */ { - constexpr u32 MaxMajor = (static_cast(g_hos_version) >> 24) & 0xFF; - constexpr u32 MaxMinor = (static_cast(g_hos_version) >> 16) & 0xFF; + constexpr u32 MaxMajor = (static_cast(hos::Version_Max) >> 24) & 0xFF; + constexpr u32 MaxMinor = (static_cast(hos::Version_Max) >> 16) & 0xFF; const u32 major = (static_cast(g_hos_version) >> 24) & 0xFF; const u32 minor = (static_cast(g_hos_version) >> 16) & 0xFF;