PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   Sensitive

Fork of PokittoLib by Jonne Valola

Revision:
6:ea7377f3d1af
Parent:
4:ecf2fe370c1c
--- a/Pokitto_settings.h	Tue Sep 19 13:42:25 2017 +0000
+++ b/Pokitto_settings.h	Wed Oct 11 20:35:27 2017 +0000
@@ -243,15 +243,19 @@
     #endif // PROJ_TILEBITDEPTH
 #else
 #ifndef PROJ_SCREENMODE
+    #undef POK_COLORDEPTH
     #ifdef PROJ_HIRES
         #if PROJ_HIRES > 0
             #define POK_SCREENMODE MODE_HI_4COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 2
         #elif PROJ_HICOLOR > 0
             #define POK_SCREENMODE MODE_256_COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 8
         #else
             #define POK_SCREENMODE MODE_FAST_16COLOR
+            #undef POK_COLORDEPTH
             #define POK_COLORDEPTH 4
         #endif // PROJ_HIRES
     #else