[NCSF] Minor possible fix in sample increment
* While I am unsure if this would've ever happened, this will prevent the locations from being out-of-bounds.
--- a/src/in_ncsf/SSEQPlayer/Channel.cpp
+++ b/src/in_ncsf/SSEQPlayer/Channel.cpp
@@ -744,9 +744,9 @@
if (this->reg.repeatMode == 1)
{
- if (loc >= this->reg.totalLength)
+ while (loc >= this->reg.totalLength)
loc -= this->reg.length;
- if (newloc >= this->reg.totalLength)
+ while (newloc >= this->reg.totalLength)
newloc -= this->reg.length;
}