mirror of
https://github.com/libretro/RetroArch
synced 2025-04-23 11:43:20 +00:00
Take out libchdr include from interface_stream.h
This commit is contained in:
parent
4bbaa65361
commit
6141761e63
@ -30,8 +30,6 @@
|
|||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
|
|
||||||
#include <libchdr/chd.h>
|
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
enum intfstream_type
|
enum intfstream_type
|
||||||
@ -56,7 +54,7 @@ typedef struct intfstream_info
|
|||||||
} memory;
|
} memory;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
chd_file *handle;
|
void *handle;
|
||||||
int32_t track;
|
int32_t track;
|
||||||
} chd;
|
} chd;
|
||||||
enum intfstream_type type;
|
enum intfstream_type type;
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
#include <streams/interface_stream.h>
|
#include <streams/interface_stream.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <streams/memory_stream.h>
|
#include <streams/memory_stream.h>
|
||||||
|
#ifdef HAVE_CHD
|
||||||
#include <streams/chd_stream.h>
|
#include <streams/chd_stream.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct intfstream_internal
|
struct intfstream_internal
|
||||||
{
|
{
|
||||||
@ -46,11 +48,13 @@ struct intfstream_internal
|
|||||||
memstream_t *fp;
|
memstream_t *fp;
|
||||||
bool writable;
|
bool writable;
|
||||||
} memory;
|
} memory;
|
||||||
|
#ifdef HAVE_CHD
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
int32_t track;
|
int32_t track;
|
||||||
chdstream_t *fp;
|
chdstream_t *fp;
|
||||||
} chd;
|
} chd;
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
bool intfstream_resize(intfstream_internal_t *intf, intfstream_info_t *info)
|
bool intfstream_resize(intfstream_internal_t *intf, intfstream_info_t *info)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user