diff options
| author | Tobias Gunkel | 2011-12-21 10:12:47 +0100 | 
|---|---|---|
| committer | Tobias Gunkel | 2011-12-22 12:08:29 +0100 | 
| commit | 12103981b786d81e96ec38cc5ff24c3ce3bd9909 (patch) | |
| tree | 70d5d1a5e993459d349b6333ad4df9858c36c6a3 | |
| parent | f7a869ccc5c22212768c43f258a7fbf7dddb758f (diff) | |
| download | scummvm-rg350-12103981b786d81e96ec38cc5ff24c3ce3bd9909.tar.gz scummvm-rg350-12103981b786d81e96ec38cc5ff24c3ce3bd9909.tar.bz2 scummvm-rg350-12103981b786d81e96ec38cc5ff24c3ce3bd9909.zip | |
SCUMM: Remove player_appleII logging
| -rw-r--r-- | engines/scumm/player_appleII.cpp | 24 | ||||
| -rw-r--r-- | engines/scumm/player_appleII.h | 14 | 
2 files changed, 0 insertions, 38 deletions
| diff --git a/engines/scumm/player_appleII.cpp b/engines/scumm/player_appleII.cpp index b566012d73..0631bcd055 100644 --- a/engines/scumm/player_appleII.cpp +++ b/engines/scumm/player_appleII.cpp @@ -372,30 +372,6 @@ Player_AppleII::~Player_AppleII() {  	delete _state.soundFunc;  } -/* -void logSounds() { -	for (nr = 1; nr < 70; ++nr) { -		switch (nr) { -		// non-existing or invalid -		case 3: case 4: case 5:  case 49: case 51: case 68: -			continue; -		} - -		byte *data = _vm->getResourceAddress(rtSound, nr); -		if (data) { -			size_t size = (data[1] << 8) | data[0]; - -			std::stringstream s; -			s << "d:/msound/sound" << nr << ".snd"; -			FILE *f = fopen(s.str().c_str(), "wb"); -			fwrite(data, 1, size, f); -			fclose(f); -			printf("sound: %d\n", nr); -		} -	} -} -*/ -  void Player_AppleII::startSound(int nr) {  	Common::StackLock lock(_mutex); diff --git a/engines/scumm/player_appleII.h b/engines/scumm/player_appleII.h index 1f53b6a8dc..a44e7b6afe 100644 --- a/engines/scumm/player_appleII.h +++ b/engines/scumm/player_appleII.h @@ -207,20 +207,6 @@ public:  		return _buffer.read((byte*)buffer, numSamples * 2) / 2;  	} -#if 0 -	void logToFile(Common::String fileName) { -		FILE *f; -		byte buffer[512]; -		int n; - -		f = fopen(fileName.c_str(), "wb"); -		while ((n = _buffer.read(buffer, 512)) != 0) { -			fwrite(buffer, 1, n, f); -		} -		fclose(f); -	} -#endif -  private:  	static const int PREC_SHIFT = 7; | 
