hle: service: Add option for service interfaces to create or use the default thread.

This commit is contained in:
bunnei
2022-03-30 21:13:53 -07:00
committed by Morph
parent 864523327f
commit bf1750664c
5 changed files with 29 additions and 11 deletions

View File

@ -206,7 +206,7 @@ void SM::UnregisterService(Kernel::HLERequestContext& ctx) {
}
SM::SM(ServiceManager& service_manager_, Core::System& system_)
: ServiceFramework{system_, "sm:", 4},
: ServiceFramework{system_, "sm:", ServiceThreadType::Default, 4},
service_manager{service_manager_}, kernel{system_.Kernel()} {
RegisterHandlers({
{0, &SM::Initialize, "Initialize"},