Implement MxStreamController::FUN_100c1a00 (#357)

* Implement MxStreamController::FUN_100c1a00

* Move include
This commit is contained in:
Christian Semmler
2023-12-24 15:00:20 -05:00
committed by GitHub
parent 84056c6ea2
commit afd24fbe18
5 changed files with 69 additions and 14 deletions

View File

@@ -784,11 +784,11 @@ inline void IsleApp::Tick(BOOL sleepIfNotNextFrame)
LegoOmni::GetInstance()->CreateBackgroundAudio();
BackgroundAudioManager()->Enable(this->m_useMusic);
MxStreamController* stream = Streamer()->Open("\\lego\\scripts\\isle\\isle", 0);
MxStreamController* stream = Streamer()->Open("\\lego\\scripts\\isle\\isle", MxStreamer::e_DiskStream);
MxDSAction ds;
if (!stream) {
stream = Streamer()->Open("\\lego\\scripts\\nocd", 0);
stream = Streamer()->Open("\\lego\\scripts\\nocd", MxStreamer::e_DiskStream);
if (!stream) {
return;
}