diff options
author | Anton Romanov <theli@rockbox.org> | 2006-09-25 09:44:10 +0000 |
---|---|---|
committer | Anton Romanov <theli@rockbox.org> | 2006-09-25 09:44:10 +0000 |
commit | ec2a5cce1a4e3609535a9ae902a80933fbb0f341 (patch) | |
tree | bd2874b573d5b29ba695e1f13c7ee5d908a473e6 /apps/plugins/zxbox/spconf.c | |
parent | 52f4c4c82bb038f3704007016a5df1639c6af443 (diff) | |
download | rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.tar.gz rockbox-ec2a5cce1a4e3609535a9ae902a80933fbb0f341.zip |
yet more code cleanup, quick snapshot feature,sound should no longer crash,light optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11041 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox/spconf.c')
-rw-r--r-- | apps/plugins/zxbox/spconf.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/plugins/zxbox/spconf.c b/apps/plugins/zxbox/spconf.c index 7c49269fa3..952b3c4c12 100644 --- a/apps/plugins/zxbox/spconf.c +++ b/apps/plugins/zxbox/spconf.c | |||
@@ -19,7 +19,6 @@ | |||
19 | */ | 19 | */ |
20 | #include "misc.h" | 20 | #include "misc.h" |
21 | #include "spconf_p.h" | 21 | #include "spconf_p.h" |
22 | #include "spver.h" | ||
23 | #include "interf.h" | 22 | #include "interf.h" |
24 | #include "spscr_p.h" | 23 | #include "spscr_p.h" |
25 | #include "spkey.h" | 24 | #include "spkey.h" |
@@ -29,7 +28,6 @@ | |||
29 | #include "zxconfig.h" | 28 | #include "zxconfig.h" |
30 | #include "stdio.h" | 29 | #include "stdio.h" |
31 | #include "string.h" | 30 | #include "string.h" |
32 | /*#include <errno.h>*/ | ||
33 | #include "sys/types.h" | 31 | #include "sys/types.h" |
34 | #include "helpers.h" | 32 | #include "helpers.h" |
35 | #include "ctype.h" | 33 | #include "ctype.h" |
@@ -42,17 +40,7 @@ char *spcf_init_snapshot = NULL; | |||
42 | int spcf_init_snapshot_type; | 40 | int spcf_init_snapshot_type; |
43 | char *spcf_init_tapefile = NULL; | 41 | char *spcf_init_tapefile = NULL; |
44 | int spcf_init_tapefile_type; | 42 | int spcf_init_tapefile_type; |
45 | #ifndef USE_GRAY | 43 | |
46 | #define exit(i) rb->splash(HZ*1,true,"Exit: %d",i) | ||
47 | #else | ||
48 | #define exit(i) i=i | ||
49 | #endif | ||
50 | #define MAXLINELEN 512 | ||
51 | /*static int linectr; | ||
52 | static FILE *conffp; | ||
53 | static int conffd; | ||
54 | static const char *conffile; | ||
55 | */ | ||
56 | 44 | ||
57 | static int file_type = -1; | 45 | static int file_type = -1; |
58 | static int file_subtype; | 46 | static int file_subtype; |