Skip to content

missing <stdio.h> building agains SDL2-compat (linux) #584

@lodriguez

Description

@lodriguez

Describe the bug
When trying to build with SDL2-compat it complains about missing <stdio.h> in sm64ex/src/pc/audio/audio_sdl2.c sm64ex/src/pc/gfx/gfx_opengl.c after adding #include stdio.h in these files it builds, but the game has crackling sound.

To Reproduce
Steps to reproduce the behavior:
build on linux with sdl3 and sdl2-compat

Expected behavior
building without error and nice distortion free sound

Desktop (please complete the following information):

  • OS: archlinux
  • SDL3 and SDL2-compat

Additional context
Probably not relevant, but in other forks, some sound effects are missing and the game sometimes crashes if you try 60fps (if build against SDL2-compat)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions