service: mii: Migrate service to new interface

This commit is contained in:
Narr the Reg 2024-01-25 20:21:45 -06:00
parent 4526fdaf64
commit c5e88c654e
4 changed files with 174 additions and 415 deletions

View file

@ -59,7 +59,7 @@ void MiiEdit::Initialize() {
break;
}
manager = system.ServiceManager().GetService<Mii::MiiDBModule>("mii:e")->GetMiiManager();
manager = system.ServiceManager().GetService<Mii::IStaticService>("mii:e")->GetMiiManager();
if (manager == nullptr) {
manager = std::make_shared<Mii::MiiManager>();
}