[Scummvm-git-logs] scummvm master -> c7d4c9d55970f0fb359886b406e71b4eb81985e7

athrxx noreply at scummvm.org
Sun Apr 7 20:29:26 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c7d4c9d559 KYRA: (LOK/Mac) - minor audio code cleanup


Commit: c7d4c9d55970f0fb359886b406e71b4eb81985e7
    https://github.com/scummvm/scummvm/commit/c7d4c9d55970f0fb359886b406e71b4eb81985e7
Author: athrxx (athrxx at scummvm.org)
Date: 2024-04-07T22:28:13+02:00

Commit Message:
KYRA: (LOK/Mac) - minor audio code cleanup

Changed paths:
    engines/kyra/sound/drivers/halestorm.cpp


diff --git a/engines/kyra/sound/drivers/halestorm.cpp b/engines/kyra/sound/drivers/halestorm.cpp
index 2314a3c8999..cc86679a49b 100644
--- a/engines/kyra/sound/drivers/halestorm.cpp
+++ b/engines/kyra/sound/drivers/halestorm.cpp
@@ -1913,7 +1913,7 @@ void HSLowLevelDriver::loadInstrument(int id) {
 	if (_instruments[id].status == InstrumentEntry::kUnusable)
 		return;
 
-	Common::SeekableReadStream *inst = _res->getResource(id, 'INST');
+	Common::SeekableReadStream *inst = _res->getResource(id, MKTAG('I', 'N', 'S', 'T'));
 	if (!inst && _instruments[id].status != InstrumentEntry::kReady)
 		error("HSLowLevelDriver::loadInstrument(): Failed to load INST resource '0x02%x'", id);
 




More information about the Scummvm-git-logs mailing list