diff --git a/lib/libhac/include/nn/hac/ServiceAccessControl.h b/lib/libhac/include/nn/hac/ServiceAccessControl.h index f324269..d88c25f 100644 --- a/lib/libhac/include/nn/hac/ServiceAccessControl.h +++ b/lib/libhac/include/nn/hac/ServiceAccessControl.h @@ -28,7 +28,7 @@ namespace hac // variables void clear(); const fnd::List& getServiceList() const; - void addService(const ServiceAccessControlEntry& service); + void setServiceList(const fnd::List& list); private: const std::string kModuleName = "SERVICE_ACCESS_CONTROL"; diff --git a/lib/libhac/source/ServiceAccessControl.cpp b/lib/libhac/source/ServiceAccessControl.cpp index b1c8edb..8c2b510 100644 --- a/lib/libhac/source/ServiceAccessControl.cpp +++ b/lib/libhac/source/ServiceAccessControl.cpp @@ -73,7 +73,7 @@ const fnd::List& nn::hac::ServiceAccessContr return mServices; } -void nn::hac::ServiceAccessControl::addService(const ServiceAccessControlEntry& service) +void nn::hac::ServiceAccessControl::setServiceList(const fnd::List& list) { - mServices.addElement(service); + mServices = list; } \ No newline at end of file