diff --git a/include/stratosphere/firmware_version.hpp b/include/stratosphere/firmware_version.hpp
index f8901c2a..c81f626e 100644
--- a/include/stratosphere/firmware_version.hpp
+++ b/include/stratosphere/firmware_version.hpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#pragma once
enum FirmwareVersion : u32 {
@@ -40,6 +40,7 @@ enum AtmosphereTargetFirmware : u32 {
AtmosphereTargetFirmware_620 = 7,
AtmosphereTargetFirmware_700 = 8,
AtmosphereTargetFirmware_800 = 9,
+ AtmosphereTargetFirmware_810 = 10,
};
FirmwareVersion GetRuntimeFirmwareVersion();
diff --git a/source/firmware_version.cpp b/source/firmware_version.cpp
index ef1df123..adc51552 100644
--- a/source/firmware_version.cpp
+++ b/source/firmware_version.cpp
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
+
#include
#include
#include
@@ -42,10 +42,10 @@ static void _CacheValues(void)
if (R_FAILED(svcCallSecureMonitor(&args)) || args.X[0] != 0) {
std::abort();
}
-
+
target_fw = (args.X[1] >> 0x08) & 0xFF;
}
-
+
switch (static_cast(target_fw)) {
case AtmosphereTargetFirmware_100:
g_firmware_version = FirmwareVersion_100;
@@ -70,6 +70,7 @@ static void _CacheValues(void)
g_firmware_version = FirmwareVersion_700;
break;
case AtmosphereTargetFirmware_800:
+ case AtmosphereTargetFirmware_810:
g_firmware_version = FirmwareVersion_800;
break;
default: