mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-30 15:33:39 +08:00
service: mii: Migrate service to new interface
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user