Mercurial > repos > blastem
diff 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 |
line wrap: on
line diff
--- a/rf5c164.h Thu Jun 09 09:35:38 2022 -0700 +++ b/rf5c164.h Tue Jul 12 09:22:57 2022 -0700 @@ -29,6 +29,7 @@ } rf5c164; void rf5c164_init(rf5c164* pcm, uint32_t mclks, uint32_t divider); +void rf5c164_deinit(rf5c164* pcm); void rf5c164_run(rf5c164* pcm, uint32_t cycle); void rf5c164_write(rf5c164* pcm, uint16_t address, uint8_t value); uint8_t rf5c164_read(rf5c164* pcm, uint16_t address);