png screenshot support
[drnoksnes] / platform / config.cpp
index 6caa569..753e5db 100644 (file)
@@ -6,7 +6,6 @@
 #include "platform.h"
 #include "port.h"
 #include "snes9x.h"
-#include "display.h"
 
 #if CONF_GUI
 #include "osso.h"
@@ -129,6 +128,8 @@ static unsigned char actionNameToBit(const char *s) {
                return kActionQuit;
        } else if (strcasecmp(s, "fullscreen") == 0) {
                return kActionToggleFullscreen;
+       } else if (strcasecmp(s, "screenshot") == 0) {
+               return kActionScreenshot;
        } else if (strcasecmp(s, "quickload1") == 0) {
                return kActionQuickLoad1;
        } else if (strcasecmp(s, "quicksave1") == 0) {
@@ -208,7 +209,6 @@ static void loadDefaults()
 
        Settings.ForceTransparency = FALSE;     // We'll enable those later
        Settings.Transparency = FALSE;
-       Settings.SixteenBit = TRUE;
 
        Settings.SupportHiRes = FALSE;
        Settings.ApplyCheats = FALSE;
@@ -304,7 +304,6 @@ static void parseArgs(poptContext optCon)
                                Config.fullscreen = true;
                                break;
                        case 5:
-                               Settings.SixteenBit = TRUE;
                                Settings.Transparency = TRUE;
                                break;
                        case 6: