]> Shamusworld >> Repos - thunder/blob - src/psg.h
Added save states; updated application icon.
[thunder] / src / psg.h
1 #ifndef __PSG_H__
2 #define __PSG_H__
3
4 #include <stdint.h>
5 #include <stdio.h>
6
7 void InitPSG(uint32_t s = 44100);
8 void UpdatePSG(uint8_t * buffer, int count);
9 void WritePSG(uint16_t address, uint8_t data);
10 uint8_t ReadPSG(uint16_t address);
11 void PSGSaveState(FILE *);
12 void PSGLoadState(FILE *);
13
14 #endif  // __PSG_H__
15