diff sidlib.h @ 132:b3e034b8c4b9

Change how certain flags (for SID model and clock) are handled.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 02 Jun 2017 02:38:41 +0300
parents c2d2369feadc
children 9cfa0553e7f9
line wrap: on
line diff
--- a/sidlib.h	Fri Jun 02 02:11:36 2017 +0300
+++ b/sidlib.h	Fri Jun 02 02:38:41 2017 +0300
@@ -72,20 +72,20 @@
 
 enum
 {
-    PSF_PLAYER_TYPE   = 0x0001, // 0 = built-in, 1 = Compute! SIDPlayer MUS
-    PSF_PLAYSID_TUNE  = 0x0002, // 0 = Real C64-compatible, 1 = PlaySID specific (v2NG)
+    PSF_PLAYER_TYPE   = 0x01, // 0 = built-in, 1 = Compute! SIDPlayer MUS
+    PSF_PLAYSID_TUNE  = 0x02, // 0 = Real C64-compatible, 1 = PlaySID specific (v2NG)
 
-    PSF_CLOCK_UNKNOWN = 0x0000, // Video standard used (v2NG)
-    PSF_CLOCK_PAL     = 0x0004,
-    PSF_CLOCK_NTSC    = 0x0008,
-    PSF_CLOCK_ANY     = 0x000c,
-    PSF_CLOCK_MASK    = 0x000c,
+    PSF_CLOCK_UNKNOWN = 0x00, // Video standard used (v2NG+)
+    PSF_CLOCK_PAL     = 0x01,
+    PSF_CLOCK_NTSC    = 0x02,
+    PSF_CLOCK_ANY     = 0x03,
+    PSF_CLOCK_MASK    = 0x03,
 
-    PSF_MODEL_UNKNOWN = 0x0000, // SID model (v2NG)
-    PSF_MODEL_MOS6581 = 0x0010,
-    PSF_MODEL_MOS8580 = 0x0020,
-    PSF_MODEL_ANY     = 0x0030,
-    PSF_MODEL_MASK    = 0x0030,
+    PSF_MODEL_UNKNOWN = 0x00, // SID model (v2NG+)
+    PSF_MODEL_MOS6581 = 0x01,
+    PSF_MODEL_MOS8580 = 0x02,
+    PSF_MODEL_ANY     = 0x03,
+    PSF_MODEL_MASK    = 0x03,
 };