changeset 316:fd7c24b97ebf

Add YM2612 stubs to transz80
author Mike Pavone <pavone@retrodev.com>
date Thu, 09 May 2013 20:59:49 -0700
parents 684e71e9f0d0
children e5e8b48ad157
files transz80.c
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/transz80.c	Thu May 09 20:09:49 2013 -0700
+++ b/transz80.c	Thu May 09 20:59:49 2013 -0700
@@ -14,6 +14,16 @@
 #define VINT_CYCLE ((MCLKS_LINE * 226)/MCLKS_PER_Z80)
 #define CYCLE_NEVER 0xFFFFFFFF
 
+uint8_t z80_read_ym(uint16_t location, z80_context * context)
+{
+	return 0xFF;
+}
+
+z80_context * z80_write_ym(uint16_t location, z80_context * context, uint8_t value)
+{
+	return context;
+}
+
 int main(int argc, char ** argv)
 {
 	long filesize;