diff blastem.h @ 288:a8ee7934a1f8

Add a YM2612 stub implementation with just timers and status registers so that games that depend on it can run.
author Mike Pavone <pavone@retrodev.com>
date Sun, 05 May 2013 22:56:42 -0700
parents 209a37eed3e7
children 2f264d2a60c2
line wrap: on
line diff
--- a/blastem.h	Sun May 05 11:17:37 2013 -0700
+++ b/blastem.h	Sun May 05 22:56:42 2013 -0700
@@ -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 @@
 	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