summaryrefslogtreecommitdiff
path: root/blastem.h
diff options
context:
space:
mode:
Diffstat (limited to 'blastem.h')
-rw-r--r--blastem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/blastem.h b/blastem.h
index 6ba1335..65be5c2 100644
--- a/blastem.h
+++ b/blastem.h
@@ -3,6 +3,9 @@
#include <stdint.h>
#include "m68k_to_x86.h"
+#include "z80_to_x86.h"
+#include "ym2612.h"
+#include "vdp.h"
typedef struct {
uint32_t th_counter;
@@ -12,6 +15,13 @@ typedef struct {
uint8_t input[3];
} io_port;
+typedef struct {
+ m68k_context *m68k;
+ z80_context *z80;
+ vdp_context *vdp;
+ ym2612_context *ym;
+} genesis_context;
+
#define GAMEPAD_TH0 0
#define GAMEPAD_TH1 1
#define GAMEPAD_EXTRA 2