diff sidlib.c @ 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.c	Fri Jun 02 02:11:36 2017 +0300
+++ b/sidlib.c	Fri Jun 02 02:38:41 2017 +0300
@@ -216,7 +216,7 @@
 
 const char *si_get_sid_clock_str(const int flags)
 {
-    switch (flags & PSF_CLOCK_MASK)
+    switch (flags)
     {
         case PSF_CLOCK_UNKNOWN : return "Unknown";
         case PSF_CLOCK_PAL     : return "PAL 50Hz";
@@ -229,7 +229,7 @@
 
 const char *si_get_sid_model_str(const int flags)
 {
-    switch (flags & PSF_MODEL_MASK)
+    switch (flags)
     {
         case PSF_MODEL_UNKNOWN : return "Unknown";
         case PSF_MODEL_MOS6581 : return "MOS6581";