mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07: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
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue