add HAVE_DISK_STORAGE, and use that instead of HAVE_FLASH_STORAGE when checking for...
[kugel-rb.git] / apps / plugins / zxbox / zxconfig.h
blobd0a6c5a7ea079175c1ce354856b2c06a4f95a224
1 #ifndef ZXCONFIG_H
2 #define ZXCONFIG_H
4 #include <plugin.h>
5 extern int load_tap;
6 extern bool clear_kbd;
7 extern bool exit_requested;
8 extern const struct plugin_api* rb;
9 extern void press_key(int c);
10 extern long video_frames;
11 extern long start_time;
12 extern int intkeys[5];
14 #define ZX_WIDTH 256
15 #define ZX_HEIGHT 192
17 #define SETTINGS_MIN_VERSION 2
18 #define SETTINGS_VERSION 2
20 /* undef not to use greyscale lib */
21 #if !defined HAVE_LCD_COLOR
22 #define USE_GREY
23 #define USE_BUFFERED_GREY
24 #endif
27 #define Z80C
29 /* Always define this for the spectrum emulator. */
30 #define SPECT_MEM 1
32 /* Define if sound driver is available. */
33 #if CONFIG_CODEC == SWCODEC && !defined SIMULATOR
34 #define HAVE_SOUND
35 #endif
37 /* Define this to use the inline intel assembly sections */
38 #undef I386_ASM
40 /* Define this to use an alternative way of passing the z80 processor
41 data to the z80 instruction emulation functions. May make emulation
42 faster on some machines, but not on intel, and sparc. */
43 /* seems not to have effect on arm targets */
44 #undef PROCP
45 /*#define PROCP*/
47 /* Define if you have the ANSI C header files. */
48 #define STDC_HEADERS 1
50 #endif