Skip to content

Commit

Permalink
ioapi: libretro needs this
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudreadmon authored Sep 28, 2024
1 parent 44912fd commit ce9c087
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/burner/ioapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
#include <stdlib.h>
#include "zlib.h"

#ifdef __LIBRETRO__
#include <streams/file_stream_transforms.h>
#ifndef USE_FILE32API
#define USE_FILE32API
#endif
#endif

#if defined(USE_FILE32API)
#define fopen64 fopen
#define ftello64 ftell
Expand Down

0 comments on commit ce9c087

Please sign in to comment.