From a4ed88253f2c45e6047eec9ce77bc7ba4fbf1dbe Mon Sep 17 00:00:00 2001 From: theoddone33 <> Date: Sat, 2 Mar 2002 20:04:29 +0000 Subject: [PATCH] Remove "undocumented" -b option to force a bit depth. --- zsnes/src/linux/zloaderw.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/zsnes/src/linux/zloaderw.c b/zsnes/src/linux/zloaderw.c index faaa3c23..6c0eed72 100644 --- a/zsnes/src/linux/zloaderw.c +++ b/zsnes/src/linux/zloaderw.c @@ -50,7 +50,6 @@ extern unsigned char Palette0, SPC700sh, OffBy1Line, DSPDisable, int getopt(int argc, char *const argv[], const char *optstring); extern char *optarg; extern int optind, opterr, optopt; -extern int BitDepth; void ccmdline(void); @@ -140,21 +139,6 @@ int main (int argc, char *argv[]) { break; } - case 'b': { - // What was this? - DDOI - //SoundCompD = 1; - if(optarg != NULL) - BitDepth = atoi(optarg); - if (BitDepth != 8 && BitDepth != 16 && - BitDepth != 24 && BitDepth != 32) - { - printf ("%d is not a valid bit depth.\n", BitDepth); - exit(1); - } - - break; - } - case 'c': { if (strcmp(optarg,"b") == 0) { printf("\nRemove background color in 256 modes not implemented!\n");