diff options
author | Paul Gilbert | 2011-06-19 20:17:47 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-06-19 20:17:47 +1000 |
commit | cc63cbcf5fe466ff72e84d1eeb34f0afd61b5714 (patch) | |
tree | ea99e013292531d2174912f9d6a6d7eaa6c452a7 | |
parent | 4de14b0dbc593db9bbccba9fb28a1ec0f589e56b (diff) | |
download | scummvm-rg350-cc63cbcf5fe466ff72e84d1eeb34f0afd61b5714.tar.gz scummvm-rg350-cc63cbcf5fe466ff72e84d1eeb34f0afd61b5714.tar.bz2 scummvm-rg350-cc63cbcf5fe466ff72e84d1eeb34f0afd61b5714.zip |
TSAGE: Cleaned up the write() method
-rw-r--r-- | engines/tsage/sound.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp index 5531ad9843..4494656d46 100644 --- a/engines/tsage/sound.cpp +++ b/engines/tsage/sound.cpp @@ -2512,18 +2512,6 @@ void AdlibSoundDriver::setPitch(int channel, int pitchBlend) { } void AdlibSoundDriver::write(byte reg, byte value) { -static int num = 1; -/* - if (((num - 1) % 8) == 0) - debugN("\n9800:%.4x ", (num - 1) * 2 + 2); - - debugN("%.2x %.2x ", reg, value); - ++num; -*/ -debugN("%d [%x]=%x ", num++, reg, value);//***DEBUG**** - for (int idx = 0; idx < ADLIB_CHANNEL_COUNT; ++idx) debugN("%d", _channelVoiced[idx] ? 1 : 0); - debugN("\n"); - _portContents[reg] = value; OPLWriteReg(_opl, reg, value); } |