From c593b1be895377fb0c2de2e0eb90d834cc695e09 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 22 Mar 2022 05:22:44 -0700 Subject: [PATCH] sf: add another sanity assert --- .../sf/sf_interface_id_for_debug_enforcement.os.horizon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/libstratosphere/source/sf/sf_interface_id_for_debug_enforcement.os.horizon.cpp b/libraries/libstratosphere/source/sf/sf_interface_id_for_debug_enforcement.os.horizon.cpp index 24e1a0352..05bf0994d 100644 --- a/libraries/libstratosphere/source/sf/sf_interface_id_for_debug_enforcement.os.horizon.cpp +++ b/libraries/libstratosphere/source/sf/sf_interface_id_for_debug_enforcement.os.horizon.cpp @@ -92,6 +92,8 @@ namespace { return GenerateInterfaceIdFromName(nn); } + static_assert(GenerateInterfaceIdFromAtmosphereName("ams::sf::hipc::impl::IHipcManager") == GenerateInterfaceIdFromName("nn::sf::hipc::detail::IHipcManager")); + } #define AMS_IMPL_CHECK_INTERFACE_ID(AMS_INTF) \