blob: a57c039933fae6ecb0e12cb1d05b1aeffa06aa30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef CONTENT_H
#define CONTENT_H
#include "libretro.h"
#include "main.h"
struct content {
const char path[MAX_PATH];
char *tmpfile;
void *data;
size_t size;
};
struct content *content_init(const char *path);
void content_based_name(const struct content *content,
char *buf, size_t len,
const char *basedir, const char *subdir,
const char *new_extension);
int content_load_game_info(struct content *content, struct retro_game_info *info, bool needs_fullpath);
void content_free(struct content *content);
#endif
|