mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-03-31 01:02:47 +02:00
Using VFS
This commit is contained in:
@@ -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 ============================== */
|
||||
|
||||
@@ -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" };
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 '/'
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user