Skip to content

NDSP apparently over-reads data on short sound effects #544

@subzerocatalyst-the-2st

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions