Mercurial > repos > blastem
comparison segacd.h @ 2080:bafb757e1cd2
Implement CD audio
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 02 Feb 2022 01:10:07 -0800 |
parents | 8e51c0c3f2e3 |
children | cfd53c94fffb |
comparison
equal
deleted
inserted
replaced
2079:5a2b759f6b2d | 2080:bafb757e1cd2 |
---|---|
1 #ifndef SEGACD_H_ | 1 #ifndef SEGACD_H_ |
2 #define SEGACD_H_ | 2 #define SEGACD_H_ |
3 #include <stdint.h> | 3 #include <stdint.h> |
4 #include "genesis.h" | 4 #include "genesis.h" |
5 #include "lc8951.h" | |
6 #include "cdd_mcu.h" | 5 #include "cdd_mcu.h" |
7 | 6 |
8 typedef struct { | 7 typedef struct { |
9 m68k_context *m68k; | 8 m68k_context *m68k; |
10 system_media *media; | 9 system_media *media; |
35 uint8_t reset; | 34 uint8_t reset; |
36 uint8_t need_reset; | 35 uint8_t need_reset; |
37 uint8_t memptr_start_index; | 36 uint8_t memptr_start_index; |
38 lc8951 cdc; | 37 lc8951 cdc; |
39 cdd_mcu cdd; | 38 cdd_mcu cdd; |
39 cdd_fader fader; | |
40 uint8_t cdc_dst_low; | 40 uint8_t cdc_dst_low; |
41 uint8_t cdc_int_ack; | 41 uint8_t cdc_int_ack; |
42 uint8_t graphics_step; | 42 uint8_t graphics_step; |
43 uint8_t graphics_dst_y; | 43 uint8_t graphics_dst_y; |
44 } segacd_context; | 44 } segacd_context; |