diff options
author | Filippos Karapetis | 2010-01-04 19:39:33 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-04 19:39:33 +0000 |
commit | b9c8e6edb82ff398ecc699bd964143cd430c9c89 (patch) | |
tree | abf001934fe1fe42acb01d948d240e7dbfd7516f /engines/sci/sfx/soundcmd.h | |
parent | 590a687ce14964ab06f34830f2e8f8bfedefbce1 (diff) | |
download | scummvm-rg350-b9c8e6edb82ff398ecc699bd964143cd430c9c89.tar.gz scummvm-rg350-b9c8e6edb82ff398ecc699bd964143cd430c9c89.tar.bz2 scummvm-rg350-b9c8e6edb82ff398ecc699bd964143cd430c9c89.zip |
Code optimization: removed unneeded string comparisons when executing a sound command (including cmdUpdateCues, which is executed very often)
svn-id: r46983
Diffstat (limited to 'engines/sci/sfx/soundcmd.h')
-rw-r--r-- | engines/sci/sfx/soundcmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sfx/soundcmd.h b/engines/sci/sfx/soundcmd.h index 20ddc077a3..548dcf3889 100644 --- a/engines/sci/sfx/soundcmd.h +++ b/engines/sci/sfx/soundcmd.h @@ -87,6 +87,7 @@ private: reg_t *_argv; // for cmdFadeSound uint32 _midiCommand; // for cmdSendMidi reg_t _acc; + int _cmdUpdateCuesIndex; void cmdInitSound(reg_t obj, int16 value); void cmdPlaySound(reg_t obj, int16 value); |