service: mii: Migrate service to new interface
This commit is contained in:
parent
4526fdaf64
commit
c5e88c654e
4 changed files with 174 additions and 415 deletions
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue