reserved thread count (#2868)
* reserved thread count * add comment, use latest main --------- Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
Submodule libultraship updated: 9d83e108a5...57660fbb18
@@ -240,7 +240,8 @@ OTRGlobals::OTRGlobals() {
|
||||
OOT_PAL_GC_DBG1,
|
||||
OOT_PAL_GC_DBG2
|
||||
};
|
||||
context = LUS::Context::CreateInstance("Ship of Harkinian", "soh", OTRFiles);
|
||||
// tell LUS to reserve 3 SoH specific threads (Game, Audio, Save)
|
||||
context = LUS::Context::CreateInstance("Ship of Harkinian", "soh", OTRFiles, {}, 3);
|
||||
|
||||
context->GetResourceManager()->GetResourceLoader()->RegisterResourceFactory(LUS::ResourceType::SOH_Animation, "Animation", std::make_shared<LUS::AnimationFactory>());
|
||||
context->GetResourceManager()->GetResourceLoader()->RegisterResourceFactory(LUS::ResourceType::SOH_PlayerAnimation, "PlayerAnimation", std::make_shared<LUS::PlayerAnimationFactory>());
|
||||
|
||||
Reference in New Issue
Block a user