Skip to content

Commit

Permalink
update from main
Browse files Browse the repository at this point in the history
  • Loading branch information
codefrau committed Oct 27, 2023
1 parent ad00439 commit 1b6a7b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion squeak.js
Original file line number Diff line number Diff line change
Expand Up @@ -5599,7 +5599,10 @@
case 174: if (this.oldPrims) return this.namedPrimitive('SoundPlugin', 'primitiveSoundPlaySamples', argCount);
else return this.popNandPushIfOK(argCount+1, this.objectAtPut(false,false,true)); // slotAt:put:
case 175: if (this.oldPrims) return this.namedPrimitive('SoundPlugin', 'primitiveSoundPlaySilence', argCount);
else return this.popNandPushIfOK(argCount+1, this.behaviorHash(this.stackNonInteger(0)));
else if (!this.vm.image.isSpur) {
this.vm.warnOnce("primitive 175 called in non-spur image"); // workaround for Cuis
return this.popNandPushIfOK(argCount+1, this.identityHash(this.stackNonInteger(0)));
} else return this.popNandPushIfOK(argCount+1, this.behaviorHash(this.stackNonInteger(0)));
case 176: if (this.oldPrims) return this.namedPrimitive('SoundGenerationPlugin', 'primWaveTableSoundmixSampleCountintostartingAtpan', argCount);
else return this.popNandPushIfOK(argCount+1, this.vm.image.isSpur ? 0x3FFFFF : 0xFFF); // primitiveMaxIdentityHash
case 177: if (this.oldPrims) return this.namedPrimitive('SoundGenerationPlugin', 'primFMSoundmixSampleCountintostartingAtpan', argCount);
Expand Down

0 comments on commit 1b6a7b2

Please sign in to comment.