From a55e74aec3ff24112c981e8e2f677113df045b4c Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 23 Feb 2024 13:55:43 -0700 Subject: [PATCH] fssrv: fix dumb assert error --- libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp b/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp index 2029ce74..5de1482f 100644 --- a/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp +++ b/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp @@ -34,8 +34,8 @@ namespace ams::fssrv { void ProgramRegistryImpl::Initialize(ProgramRegistryServiceImpl *service) { /* Check pre-conditions. */ - AMS_ASSERT(g_impl != nullptr); - AMS_ASSERT(g_impl == nullptr); + AMS_ASSERT(service != nullptr); + AMS_ASSERT(g_impl == nullptr); /* Set the global service. */ g_impl = service;