[Scummvm-git-logs] scummvm master -> 514abb7f901a9afb70e38b1e7633bf3a26b2d3c3

athrxx noreply at scummvm.org
Sun Jan 28 16:18:30 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:
514abb7f90 SCUMM: remove some leftover garbage code


Commit: 514abb7f901a9afb70e38b1e7633bf3a26b2d3c3
    https://github.com/scummvm/scummvm/commit/514abb7f901a9afb70e38b1e7633bf3a26b2d3c3
Author: athrxx (athrxx at scummvm.org)
Date: 2024-01-28T17:18:17+01:00

Commit Message:
SCUMM: remove some leftover garbage code

Changed paths:
    engines/scumm/players/player_mac_indy3.cpp


diff --git a/engines/scumm/players/player_mac_indy3.cpp b/engines/scumm/players/player_mac_indy3.cpp
index 70e79a27f1b..e32b52f3c0e 100644
--- a/engines/scumm/players/player_mac_indy3.cpp
+++ b/engines/scumm/players/player_mac_indy3.cpp
@@ -337,11 +337,6 @@ public:
 	MusicChannel *getMusicChannel(uint8 id) const;
 };
 
-/*template <typename T> Common::SharedPtr<T> &&makeSharedBuffer(T *buff) {
-	
-	return Common::SharedPtr<T>::SharedPtr//<T, Common::ArrayDeleter<T> >(buff);
-}*/
-
 AudioStream_I3M::AudioStream_I3M(I3MPlayer *drv, uint32 scummVMOutputrate, bool stereo, bool interpolate) : Audio::AudioStream(), _drv(drv), _vblSmpQty(0), _vblSmpQtyRem(0), _frameSize(stereo ? 2 : 1),
 	_vblCountDown(0), _vblCountDownRem(0), _outputRate(scummVMOutputrate), _vblCbProc(nullptr), _isStereo(stereo), _interp(interpolate) {
 	assert(_drv);
@@ -1053,9 +1048,6 @@ void I3MPlayer::startSong(int id) {
 		--_soundUsage[_lastSong];
 	_lastSong = _lastSound = id;
 
-	//byte unused1 = ptr[4];
-	//byte unused2 = ptr[5];
-
 	if (isHiQuality()) {
 		_qualHi = true;
 		ptr += 14;




More information about the Scummvm-git-logs mailing list