summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2020-04-29 01:00:57 -0700
committerMichael Pavone <pavone@retrodev.com>2020-04-29 01:00:57 -0700
commit2071d8e545b9aca6af08852f721e9a7b7a617398 (patch)
tree75148c6c893661c0e6b0bada4c7ca5b71cd8255d /system.h
parent6641d3825bb931c5af37b98fc6420c972cfb3fd1 (diff)
WIP netplay support
Diffstat (limited to 'system.h')
-rw-r--r--system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/system.h b/system.h
index 508e29a..1fbd61b 100644
--- a/system.h
+++ b/system.h
@@ -9,8 +9,10 @@ typedef struct system_media system_media;
typedef enum {
SYSTEM_UNKNOWN,
SYSTEM_GENESIS,
+ SYSTEM_GENESIS_PLAYER,
SYSTEM_SMS,
- SYSTEM_JAGUAR
+ SYSTEM_SMS_PLAYER,
+ SYSTEM_JAGUAR,
} system_type;
typedef enum {
@@ -33,6 +35,7 @@ typedef void (*system_ptr8_sizet_fun)(system_header *, uint8_t *, size_t);
#include "arena.h"
#include "romdb.h"
+#include "event_log.h"
struct system_header {
system_header *next_context;
@@ -87,5 +90,6 @@ struct system_media {
system_type detect_system_type(system_media *media);
system_header *alloc_config_system(system_type stype, system_media *media, uint32_t opts, uint8_t force_region);
+system_header *alloc_config_player(system_type stype, event_reader *reader);
#endif //SYSTEM_H_