libretro, fix classic_arm builds, minor cleanup

This commit is contained in:
kub 2022-04-20 00:00:43 +02:00
parent a5085db3ea
commit 36b2f2931f
4 changed files with 10 additions and 7 deletions

View file

@ -9,10 +9,13 @@
#include <stdio.h>
#include <pico/pico_int.h>
#ifdef USE_LIBRETRO_VFS
// Ugh, drmp3 tries to use wfopen on windows, which breaks libretro VFS...
#define __acrt_iob_func __acrt_iob_func2
#define _wfopen_s(p,m) NULL
#define _wfopen(p,m) NULL
#endif
#define DR_MP3_IMPLEMENTATION
#include "dr_libs/dr_mp3.h"
#include "mp3.h"