Skip to content

Conversation

@dewi-tim
Copy link
Contributor

Fixes a backwards bounds check in VGMPlayer::Cmd_PcmRamWrite introduced in 460e894 that rejects all valid PCM RAM writes, breaking e.g. sega cd playback.

if (_pcmBank[dbType].data.size() - dbPos > dataLen)

@dewi-tim dewi-tim force-pushed the fix/pcm-ram-write-bounds-check branch from cd7501f to c9b5272 Compare January 12, 2026 00:07
@ValleyBell
Copy link
Owner

Good catch - thanks!

@ValleyBell ValleyBell merged commit c9b5272 into ValleyBell:master Jan 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants