Commit Graph

5 Commits

Author SHA1 Message Date
Brandon Wright
79e641664b Missed another one. 2018-11-15 17:45:29 -06:00
Ari Sundholm
60aabb91d7 Fix some undefined behavior
The destructor of Resampler needs to be virtual, as it is subclassed
and pointers to objects subclassed from it are being deleted.

The issue in controls.cpp is that the loop ends up reading past the
end of an array. The small rewrite of the loop also makes it more
readable.

In memmap.cpp, there is an assignment statement of the following form:
	a[i++] = b[i];
It is undefined what i's value should be in b[i], so this was made
explicit.
2017-09-11 00:42:36 +03:00
Brandon Wright
026f9eaa1e Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00
OV2
debd16c179 Update to latest WIP 2010-09-25 18:46:06 +02:00
OV2
d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00