Using VFS

This commit is contained in:
Alberto Fustinoni
2018-06-21 16:22:09 +09:00
parent 0912b6f0a6
commit a6f7458471
11 changed files with 41 additions and 0 deletions

View File

@@ -122,6 +122,9 @@ static const char* g_version = "3.31";
#endif /* DECL_SPEC */
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
/* ======================================================================== */
/* ============================== PROTOTYPES ============================== */

View File

@@ -12,6 +12,9 @@
#include "../unzip/unzip.h"
#include <zlib.h>
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
static int rom_alloc_size;
static const char *rom_exts[] = { "bin", "gen", "smd", "iso", "sms", "gg", "sg" };

View File

@@ -11,6 +11,10 @@
#include "cdd.h"
#include "cue.h"
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
static int handle_mp3(const char *fname, int index)
{
track_t *track = &cdd.toc.tracks[index];

View File

@@ -13,6 +13,10 @@
#include "../pico_int.h"
// #define elprintf(w,f,...) printf(f "\n",##__VA_ARGS__);
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
#ifdef _MSC_VER
#define snprintf _snprintf
#endif

View File

@@ -25,6 +25,10 @@
#include "memory.h"
#include "patch.h"
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
struct patch
{
unsigned int addr;

View File

@@ -10,6 +10,10 @@
#include "pico_int.h"
#include "memory.h"
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
/* context */
// Cyclone 68000
#ifdef EMU_C68K

View File

@@ -13,6 +13,10 @@
#include "sound/ym2612.h"
#include "state.h"
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
// sn76496
extern int *sn76496_regs;

View File

@@ -18,6 +18,10 @@
#include "../libpicofe/lprintf.h"
#include "config_file.h"
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
static char *mystrip(char *str);
#ifndef _MSC_VER

View File

@@ -28,6 +28,10 @@
#include <pico/pico_int.h>
#include <pico/patch.h>
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
#ifndef _WIN32
#define PATH_SEP "/"
#define PATH_SEP_C '/'

View File

@@ -18,6 +18,9 @@
#include "version.h"
#include <cpu/debug.h>
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
static int load_state_slot = -1;
char **g_argv;

View File

@@ -27,6 +27,10 @@
#include <libkern/OSCacheControl.h>
#endif
#ifdef USE_LIBRETRO_VFS
#include "file_stream_transforms.h"
#endif
#ifdef _3DS
#include "3ds/3ds_utils.h"
#define MEMOP_MAP 4