Removed more warnings and logic errors.

Now compiles with -Wall under GCC.

svn-id: r3722
This commit is contained in:
James Brown 2002-03-10 17:21:38 +00:00
parent ea9a17a4e6
commit 31dc24a037
2 changed files with 1 additions and 3 deletions

View File

@ -544,7 +544,7 @@ byte AdlibSoundDriver::struct10_ontimer(Struct10 *s10, Struct11 *s11) {
result = 1;
}
}
assert(s10->num_steps>=0);
if (!--s10->num_steps) {
s10->active++;
if (s10->active > 4) {

View File

@ -93,8 +93,6 @@ static const int slot_array[32]=
-1,-1,-1,-1,-1,-1,-1,-1
};
#pragma warning (disable: 4244)
/* key scale level */
/* table is 3dB/OCT , DV converts this in TL step at 6dB/OCT */