From 200aaf7be8b0165ea40191776b8e843d4940be8d Mon Sep 17 00:00:00 2001 From: Archez Date: Tue, 1 Oct 2024 12:15:30 -0400 Subject: [PATCH] bump lus (#782) --- libultraship | 2 +- mm/2s2h/BenPort.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libultraship b/libultraship index 7a88bfc08..4160fa0aa 160000 --- a/libultraship +++ b/libultraship @@ -1 +1 @@ -Subproject commit 7a88bfc08cbe44fd682b8f6f66b9d32d44b699bc +Subproject commit 4160fa0aa07d3946cbed5e397c54e6260f67dc5a diff --git a/mm/2s2h/BenPort.cpp b/mm/2s2h/BenPort.cpp index 10a567c68..57dd9fb65 100644 --- a/mm/2s2h/BenPort.cpp +++ b/mm/2s2h/BenPort.cpp @@ -147,7 +147,9 @@ OTRGlobals::OTRGlobals() { OOT_PAL_GC, OOT_PAL_GC_DBG1, OOT_PAL_GC_DBG2 }; // tell LUS to reserve 3 SoH specific threads (Game, Audio, Save) context = - Ship::Context::CreateInstance("2 Ship 2 Harkinian", appShortName, "2ship2harkinian.json", archiveFiles, {}, 3); + Ship::Context::CreateInstance("2 Ship 2 Harkinian", appShortName, "2ship2harkinian.json", archiveFiles, {}, 3, + { .SampleRate = 44100, .SampleLength = 1024, .DesiredBuffered = 2480 }); + prevAltAssets = CVarGetInteger("gAltAssets", 0); context->GetResourceManager()->SetAltAssetsEnabled(prevAltAssets);