diff --git a/libraries/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp b/libraries/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp index 2029ce740..5de1482f1 100644 --- a/libraries/libstratosphere/source/fssrv/fssrv_program_registry_impl.cpp +++ b/libraries/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;