diff options
author | Filippos Karapetis | 2010-06-17 23:50:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-17 23:50:28 +0000 |
commit | db70d66e4ae872ebdeb2a88ef0870708a30c7667 (patch) | |
tree | 3bdc2d2f30f33e77c2e367ea11a045d418283efc /engines/sci/sound/drivers | |
parent | 9c1ec81d76def56d55df701df9d158532da1bf0f (diff) | |
download | scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.tar.gz scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.tar.bz2 scummvm-rg350-db70d66e4ae872ebdeb2a88ef0870708a30c7667.zip |
Strict mode: Changed several warnings due to logic bugs into errors. If an error pops up from these ones, please add the game where it occurred and the steps to reproduce the error before turning it into a warning
svn-id: r49973
Diffstat (limited to 'engines/sci/sound/drivers')
-rw-r--r-- | engines/sci/sound/drivers/adlib.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sound/drivers/adlib.cpp b/engines/sci/sound/drivers/adlib.cpp index a743e4b5d9..4f93314b64 100644 --- a/engines/sci/sound/drivers/adlib.cpp +++ b/engines/sci/sound/drivers/adlib.cpp @@ -703,7 +703,7 @@ void MidiDriver_AdLib::setVelocityReg(int regOffset, int velocity, int kbScaleLe void MidiDriver_AdLib::setPatch(int voice, int patch) { if ((patch < 0) || ((uint)patch >= _patches.size())) { - warning("ADLIB: Invalid patch %i requested", patch); + error("ADLIB: Invalid patch %i requested", patch); patch = 0; } @@ -749,7 +749,7 @@ void MidiDriver_AdLib::playSwitch(bool play) { bool MidiDriver_AdLib::loadResource(const byte *data, uint size) { if ((size != 1344) && (size != 2690) && (size != 5382)) { - warning("ADLIB: Unsupported patch format (%i bytes)", size); + error("ADLIB: Unsupported patch format (%i bytes)", size); return false; } |