forked from libretro/beetle-saturn-libretro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdisc.h
27 lines (16 loc) · 701 Bytes
/
disc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __DISC_H__
#define __DISC_H__
#include <libretro.h>
#include "mednafen/git.h"
#include "mednafen/mednafen-types.h"
extern void extract_basename(char *buf, const char *path, size_t size);
extern void extract_directory(char *buf, const char *path, size_t size);
// These routines handle disc drive front-end.
extern unsigned disk_get_image_index(void);
void disc_init( retro_environment_t environ_cb );
void disc_cleanup(void);
bool DetectRegion( unsigned* region );
bool DiscSanityChecks(void);
void disc_select( unsigned disc_num );
bool disc_load_content( MDFNGI* game_inteface, const char *name, uint8* fd_id, char* sgid, char *sgname, char *sgarea, bool image_memcache );
#endif