Fix unsigned underflow with a loop offset of 0 on an ADPCM SWAV.
author Naram Qashat
()
committer Naram Qashat
()
commit 619c60435535b8f1c18d0a05822f46d444a55ec4
tree 6b5d6fa5ee7d2abb8ed7813f0cc454ee0699f1d1
parent 9e43cc7995786c04b4702923b0639916b70c9b98
Fix unsigned underflow with a loop offset of 0 on an ADPCM SWAV.

Also a minor optimization when reading the SWAVs.
src/in_ncsf/SSEQPlayer/SWAV.cpp