mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-04 21:33:58 +01:00
Not sure why everything is negative one indexed, but this prevents reading beyond the size of the buffer. This shouldn't change sound output, but it may fix a crash if VAG is at the edge of memory (unlikely, though.)