mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-21 23:58:51 -05:00
reserved thread count (#2868)
* reserved thread count * add comment, use latest main --------- Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
6d4761f349
commit
d1c930b5e5
@ -1 +1 @@
|
||||
Subproject commit 9d83e108a5b15dc2f8631b9dd754308abd798270
|
||||
Subproject commit 57660fbb186d85923a1f771bfaafe241c209e579
|
@ -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>());
|
||||
|
Loading…
Reference in New Issue
Block a user