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;