diff options
author | Max Horn | 2007-09-03 12:23:50 +0000 |
---|---|---|
committer | Max Horn | 2007-09-03 12:23:50 +0000 |
commit | 750ad32030f3343ded3ad7ac942993da43de68b0 (patch) | |
tree | 01c582ede2cf0e4fe7c64d10cb6c8c4239023392 /engines | |
parent | 3c2994f72bbf8976390e63d7169981b89be253a9 (diff) | |
download | scummvm-rg350-750ad32030f3343ded3ad7ac942993da43de68b0.tar.gz scummvm-rg350-750ad32030f3343ded3ad7ac942993da43de68b0.tar.bz2 scummvm-rg350-750ad32030f3343ded3ad7ac942993da43de68b0.zip |
Fix warning about unused static function
svn-id: r28847
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/sound.cpp b/engines/agi/sound.cpp index ef531840a8..64b04784d8 100644 --- a/engines/agi/sound.cpp +++ b/engines/agi/sound.cpp @@ -309,9 +309,11 @@ static const uint16 period[] = { 1448, 1534, 1625, 1722, 1825, 1933 }; +#if 0 static int noteToPeriod(int note) { return 10 * (period[note % 12] >> (note / 12 - 3)); } +#endif void SoundMgr::unloadSound(int resnum) { if (_vm->_game.dirSound[resnum].flags & RES_LOADED) { |