diff options
Diffstat (limited to 'engines/scumm')
-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; |