]> Shamusworld >> Repos - thunder/blobdiff - src/ym2151.h
Added save states; updated application icon.
[thunder] / src / ym2151.h
index 38928632e5d2b1c88e785108e90ba61342e013b4..7e6ac53c139199771a8a80ea4102cdb24b591d6a 100644 (file)
@@ -40,6 +40,8 @@
 #ifndef __YM2151_H__
 #define __YM2151_H__
 
+#include <cstdio>
+
 // Register IDs
 #define YM_KON         (0x08)
 #define YM_NOISE       (0x0F)
@@ -157,5 +159,9 @@ SAMPLE * YMBuffer(int n);
 
 void YMSetIrqHandler(int n, void (* handler)(void));
 
-#endif /* _H_YM2151_ */
+// JLH functions
 
+void YMSaveState(FILE *);
+void YMLoadState(FILE *);
+
+#endif /* _H_YM2151_ */