Mercurial > repos > blastem
comparison cdd_mcu.h @ 2280:9ead0fe69d9b
Implement savestate support for Sega CD
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 08 Jan 2023 14:42:24 -0800 |
parents | c3ee42c89b27 |
children |
comparison
equal
deleted
inserted
replaced
2279:3b5fef896475 | 2280:9ead0fe69d9b |
---|---|
1 #ifndef CDD_MCU_H_ | 1 #ifndef CDD_MCU_H_ |
2 #define CDD_MCU_H_ | 2 #define CDD_MCU_H_ |
3 #include "system.h" | 3 #include "system.h" |
4 #include "lc8951.h" | 4 #include "lc8951.h" |
5 #include "cdd_fader.h" | 5 #include "cdd_fader.h" |
6 #include "serialize.h" | |
6 | 7 |
7 typedef enum { | 8 typedef enum { |
8 SF_ABSOLUTE, | 9 SF_ABSOLUTE, |
9 SF_RELATIVE, | 10 SF_RELATIVE, |
10 SF_TRACK, | 11 SF_TRACK, |
170 void cdd_mcu_run(cdd_mcu *context, uint32_t cycle, uint16_t *gate_array, lc8951 *cdc, cdd_fader *fader); | 171 void cdd_mcu_run(cdd_mcu *context, uint32_t cycle, uint16_t *gate_array, lc8951 *cdc, cdd_fader *fader); |
171 void cdd_hock_enabled(cdd_mcu *context); | 172 void cdd_hock_enabled(cdd_mcu *context); |
172 void cdd_hock_disabled(cdd_mcu *context); | 173 void cdd_hock_disabled(cdd_mcu *context); |
173 void cdd_mcu_start_cmd_recv(cdd_mcu *context, uint16_t *gate_array); | 174 void cdd_mcu_start_cmd_recv(cdd_mcu *context, uint16_t *gate_array); |
174 void cdd_mcu_adjust_cycle(cdd_mcu *context, uint32_t deduction); | 175 void cdd_mcu_adjust_cycle(cdd_mcu *context, uint32_t deduction); |
176 void cdd_mcu_serialize(cdd_mcu *context, serialize_buffer *buf); | |
177 void cdd_mcu_deserialize(deserialize_buffer *buf, void *vcontext); | |
175 | 178 |
176 #endif //CD_MCU_H_ | 179 #endif //CD_MCU_H_ |