From db46d9d45e7d3b06aa52a00271b16f28d5a8ed8f 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/libstratosphere/include/stratosphere/settings/settings_types.hpp b/libstratosphere/include/stratosphere/settings/settings_types.hpp index a0996f21..410bad5e 100644 --- a/libstratosphere/include/stratosphere/settings/settings_types.hpp +++ b/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 }