clarify PicoDrive's license
[picodrive.git] / pico / draw2.c
index b2e6a71..58139d9 100644 (file)
@@ -1,13 +1,10 @@
-// This is part of Pico Library\r
-\r
-// (c) Copyright 2007, Grazvydas "notaz" Ignotas\r
-// Free for non-commercial use.\r
-\r
-// For commercial use, separate licencing terms must be obtained.\r
-\r
-\r
-// this is a frame-based renderer, alternative to Dave's line based which is in Draw.c\r
-\r
+/*\r
+ * tile renderer\r
+ * (C) notaz, 2006-2008\r
+ *\r
+ * This work is licensed under the terms of MAME license.\r
+ * See COPYING file in the top-level directory.\r
+ */\r
 \r
 #include "pico_int.h"\r
 \r
@@ -613,11 +610,16 @@ static void DrawDisplayFull(void)
 \r
 PICO_INTERNAL void PicoFrameFull()\r
 {\r
+       pprof_start(draw);\r
+\r
        // prepare cram?\r
        if (PicoPrepareCram) PicoPrepareCram();\r
 \r
        // Draw screen:\r
        BackFillFull(Pico.video.reg[7]);\r
-       if (Pico.video.reg[1]&0x40) DrawDisplayFull();\r
+       if (Pico.video.reg[1] & 0x40)\r
+               DrawDisplayFull();\r
+\r
+       pprof_end(draw);\r
 }\r
 \r