sm64pc/sm64ex

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

lodriguez opened this issue · 1 comments

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)