summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2024-10-01 12:15:30 -0400
committerGitHub <noreply@github.com>2024-10-01 12:15:30 -0400
commit200aaf7be8b0165ea40191776b8e843d4940be8d (patch)
tree52a047d37586c63fe26e48242ad4ef6f1413b406
parentf33f994adc743d16c1246691f6a619df80599af1 (diff)
bump lus (#782)
m---------libultraship0
-rw-r--r--mm/2s2h/BenPort.cpp4
2 files changed, 3 insertions, 1 deletions
diff --git a/libultraship b/libultraship
-Subproject 7a88bfc08cbe44fd682b8f6f66b9d32d44b699b
+Subproject 4160fa0aa07d3946cbed5e397c54e6260f67dc5
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);