X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.c;h=ee2f1a8608b459c89d5e7a329171debf5f27eb0b;hb=34abe02e0e49c2b73912babf54fc63b5cdc56284;hp=1ddefc699670533b11d02b0a466808d710c20ea6;hpb=81a89657d4c71baad7e1a6c65c166fcca6af8bf8;p=16.git diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 1ddefc69..ee2f1a86 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -1,11 +1,11 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 * * This file is part of Project 16. * * Project 16 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or + * the Free Software Foundation; either verson 3 of the License, or * (at your option) any later version. * * Project 16 is distributed in the hope that it will be useful, @@ -994,9 +994,8 @@ void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, cons //TODO: OPTIMIZE THIS!!!! modexDrawCharPBuf(page, x, y, t, col, bgcol, q); - if(!q) getch(); + //if(!q) getch(); } - //_nfree(bakapee); } void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str) @@ -1101,7 +1100,7 @@ void cls(page_t *page, byte color, byte *Where) /* set map mask to all 4 planes */ outpw(SC_INDEX, 0xff02); //_fmemset(VGA, color, 16000); - _fmemset(Where, color, page->width*(page->height)); + _fmemset(Where, color, page->width*(page->height)/4); } void