Mercurial > repos > blastem
comparison rf5c164.h @ 2164:4fbe1e7c4a73
Don't leak all Sega CD resources when freeing a Genesis instance
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 12 Jul 2022 09:22:57 -0700 |
parents | 62a53c052d9b |
children | 0d1d5dccdd28 |
comparison
equal
deleted
inserted
replaced
2162:1270fe86eb89 | 2164:4fbe1e7c4a73 |
---|---|
27 uint8_t step; | 27 uint8_t step; |
28 uint8_t flags; | 28 uint8_t flags; |
29 } rf5c164; | 29 } rf5c164; |
30 | 30 |
31 void rf5c164_init(rf5c164* pcm, uint32_t mclks, uint32_t divider); | 31 void rf5c164_init(rf5c164* pcm, uint32_t mclks, uint32_t divider); |
32 void rf5c164_deinit(rf5c164* pcm); | |
32 void rf5c164_run(rf5c164* pcm, uint32_t cycle); | 33 void rf5c164_run(rf5c164* pcm, uint32_t cycle); |
33 void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value); | 34 void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value); |
34 uint8_t rf5c164_read(rf5c164* pcm, uint16_t address); | 35 uint8_t rf5c164_read(rf5c164* pcm, uint16_t address); |
35 | 36 |
36 #endif //RF5C164_H_ | 37 #endif //RF5C164_H_ |