PokittoLib with changes to lcd refresh etc.

Dependents:   Pokittris

Fork of Pokitto by Pokitto Community Team

This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.

Revision:
10:8cde5d0bafad
Parent:
9:570fdd653f1d
--- a/POKITTO_CORE/PokittoDisplay.cpp	Sun Oct 15 16:13:07 2017 +0000
+++ b/POKITTO_CORE/PokittoDisplay.cpp	Sun Oct 15 16:50:56 2017 +0000
@@ -229,6 +229,13 @@
     cursorY = y;
 }
 
+void Display::updateRegion(int16_t x, int16_t y,int16_t x2, int16_t y2) {
+#if POK_SCREENMODE == MODE_HI_4COLOR
+    lcdRefreshRegionMode1(x, y, x2, y2, m_scrbuf, paletteptr);
+#endif
+}
+
+
 void Display::update() {
 
 #if POK_SCREENMODE == MODE_GAMEBOY