aboutsummaryrefslogtreecommitdiff
path: root/core.h
diff options
context:
space:
mode:
authorneonloop2021-08-14 00:56:18 +0000
committerneonloop2021-08-14 00:56:18 +0000
commit890159f001a253c64faf5b95357032c8757fd98c (patch)
tree92229446d4c56445210b442f07527163a42b44ab /core.h
parent830d847595e6e7415013b30b08a57519116d49e0 (diff)
downloadpicoarch-890159f001a253c64faf5b95357032c8757fd98c.tar.gz
picoarch-890159f001a253c64faf5b95357032c8757fd98c.tar.bz2
picoarch-890159f001a253c64faf5b95357032c8757fd98c.zip
Adds simple disc control for games that require it
Diffstat (limited to 'core.h')
-rw-r--r--core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core.h b/core.h
index aa3c776..67cf4e2 100644
--- a/core.h
+++ b/core.h
@@ -47,6 +47,10 @@ void state_file_name(char *name, size_t size, int slot);
int state_read(void);
int state_write(void);
+unsigned disc_get_count(void);
+unsigned disc_get_index(void);
+bool disc_switch_index(unsigned index);
+
int core_load(const char *corefile);
int core_load_content(const char *path);
void core_unload(void);