fssrv: fix dumb assert error

This commit is contained in:
Michael Scire 2024-02-23 13:55:43 -07:00
parent 615f8a3ef3
commit 0220f67085

View file

@ -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;