]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16.c
Merge branch 'master' of https://github.com/sparky4/16
[16.git] / src / lib / modex16.c
index 1ddefc699670533b11d02b0a466808d710c20ea6..ee2f1a8608b459c89d5e7a329171debf5f27eb0b 100755 (executable)
@@ -1,11 +1,11 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669\r
+ * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669\r
  *\r
  * This file is part of Project 16.\r
  *\r
  * Project 16 is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation; either version 3 of the License, or\r
+ * the Free Software Foundation; either verson 3 of the License, or\r
  * (at your option) any later version.\r
  *\r
  * Project 16 is distributed in the hope that it will be useful,\r
@@ -994,9 +994,8 @@ void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, cons
 //TODO: OPTIMIZE THIS!!!!\r
                modexDrawCharPBuf(page, x, y, t, col, bgcol, q);\r
 \r
-               if(!q) getch();\r
+               //if(!q) getch();\r
        }\r
-       //_nfree(bakapee);\r
 }\r
 \r
 void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str)\r
@@ -1101,7 +1100,7 @@ void cls(page_t *page, byte color, byte *Where)
        /* set map mask to all 4 planes */\r
        outpw(SC_INDEX, 0xff02);\r
        //_fmemset(VGA, color, 16000);\r
-       _fmemset(Where, color, page->width*(page->height));\r
+       _fmemset(Where, color, page->width*(page->height)/4);\r
 }\r
 \r
 void\r