#define __PSG_H__
#include <stdint.h>
+#include <stdio.h>
void InitPSG(uint32_t s = 44100);
void UpdatePSG(uint8_t * buffer, int count);
void WritePSG(uint16_t address, uint8_t data);
uint8_t ReadPSG(uint16_t address);
+void PSGSaveState(FILE *);
+void PSGLoadState(FILE *);
#endif // __PSG_H__