SCI32: Implement kMacPlatform32 volume subop

This commit is contained in:
sluicebox 2020-05-07 22:49:41 -07:00
parent 7afe586e9a
commit 0eca8009f2

View File

@ -704,10 +704,9 @@ reg_t kMacPlatform32(EngineState *s, int argc, reg_t *argv) {
case 11:
return kMakeSaveFileName(s, argc - 1, argv + 1);
// TODO: Phantasmagoria music volume adjustment [ 0-15 ]
// Phantasmagoria volume
case 12:
warning("Unimplemented kMacPlatform32(%d): Set volume: %d", argv[0].toUint16(), argv[1].toUint16());
return s->r_acc;
return g_sci->_soundCmd->kDoSoundMasterVolume(s, argc - 1, argv + 1);
default:
break;