libctru icon indicating copy to clipboard operation
libctru copied to clipboard

NDSP apparently over-reads data on short sound effects

Open subzerocatalyst-the-2st opened this issue 1 year ago • 0 comments

Bug Report

What's the issue you encountered?

  • Describe the issue in detail and what you were doing beforehand.

I was attempting to recreate SCP - Containment Breach on the 3DS using entirely new code written in C, and the sound code i have been trying to implement causes an odd issue, where it seems like it's trying to read memory beyond the sound effect on shorter sounds.

  • Did you make any changes related to devkitPro tooling? If so, make sure to include details relating to what exactly you changed.

No. I have not modified my devkitPro installation.

How can the issue be reproduced?

  • Include a detailed step by step process for recreating your issue.

1: Compile https://github.com/subzerocatalyst-the-2st/scpcb-3ds/ with current sound code. 2: Run under Citra Emulator. 3: Watch your ears bleed.

Environment?

  • What host OS are you using?

Arch Linux x86-64, kernel v6.8.4-arch1-1.

  • Official release or unofficial/self-compiled build:

Official release.

Additional context?

Nothing noteworthy.

subzerocatalyst-the-2st avatar May 27 '24 02:05 subzerocatalyst-the-2st