From 52f00731d993d14208635a99ae438ff2d1f3079e Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 12 Mar 2023 22:34:23 -0700 Subject: [PATCH] settings: add os guard --- .../include/stratosphere/settings/settings_types.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libstratosphere/include/stratosphere/settings/settings_types.hpp b/libraries/libstratosphere/include/stratosphere/settings/settings_types.hpp index a0996f21c..410bad5eb 100644 --- a/libraries/libstratosphere/include/stratosphere/settings/settings_types.hpp +++ b/libraries/libstratosphere/include/stratosphere/settings/settings_types.hpp @@ -258,6 +258,8 @@ namespace ams::settings { u8 reserved1[0x31]; }; + #if defined(ATMOSPHERE_OS_HORIZON) static_assert(sizeof(BluetoothDevicesSettings) == sizeof(::SetSysBluetoothDevicesSettings)); + #endif }