Mercurial > repos > blastem
diff transz80.c @ 316:fd7c24b97ebf
Add YM2612 stubs to transz80
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 09 May 2013 20:59:49 -0700 |
parents | 5f1b68cecfc7 |
children | 140af5509ce7 |
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;