Merge pull request #12802 from german77/mii_interface

service: mii: Migrate service to new interface
This commit is contained in:
liamwhite 2024-01-28 11:57:40 -05:00 committed by GitHub
commit b163757e1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>();
}