summaryrefslogtreecommitdiff
path: root/romdb.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-07-06 17:39:59 -0700
committerMichael Pavone <pavone@retrodev.com>2018-07-06 17:39:59 -0700
commit480b9bb35341fb64afbd0ab6e18b978b2cd6d4f8 (patch)
tree061bc36100397b99945c51a2010a506482fcccbd /romdb.h
parentaad75c86365b71d625a730a0d42c6537a9016feb (diff)
Update controller config when changed in UI without restart
Diffstat (limited to 'romdb.h')
-rw-r--r--romdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/romdb.h b/romdb.h
index fa38b84..252b182 100644
--- a/romdb.h
+++ b/romdb.h
@@ -51,7 +51,7 @@ enum {
typedef struct rom_info rom_info;
-#include "backend.h"
+#include "memmap.h"
struct rom_info {
char *name;
@@ -88,6 +88,7 @@ char const *save_type_name(uint8_t save_type);
//Note: free_rom_info only frees things pointed to by a rom_info struct, not the struct itself
//this is because rom_info structs are typically stack allocated
void free_rom_info(rom_info *info);
+typedef struct system_header system_header;
void cart_serialize(system_header *sys, serialize_buffer *buf);
void cart_deserialize(deserialize_buffer *buf, void *vcontext);