snes9x/apu
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
..
bapu Fix a byte-masking error in byuu's APU causing issues in Dark Law, Haisei Mahjongg, and Super Pinball 2017-06-27 16:25:25 -07:00
apu.cpp Merge branch 'msu1-zip' 2017-09-03 14:56:32 -07:00
apu.h Add copyrights. 2016-10-15 11:31:26 -05:00
hermite_resampler.h Assert on uneven sample count 2016-11-06 22:05:54 +01:00
resampler.h Fix some undefined behavior 2017-09-11 00:42:36 +03:00
ring_buffer.h Fix some possible problems from cppcheck. Everything else looks fine. 2016-09-27 15:25:37 -05:00