X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fvideoport.c;h=b78c35859b4d30b2c44dd701464b6da5276dbc6a;hb=8ad1d2adf2feb934a687025402ceed4689337fac;hp=c1a1ba908bff0bc09a9d53b04617fba22d90f3c8;hpb=697746df021a83dcb556afdb36abc6977780985c;p=picodrive.git diff --git a/pico/videoport.c b/pico/videoport.c index c1a1ba9..b78c358 100644 --- a/pico/videoport.c +++ b/pico/videoport.c @@ -1,11 +1,11 @@ -// PicoDrive - -// (c) Copyright 2004 Dave, All rights reserved. -// (c) Copyright 2006-2008, Grazvydas "notaz" Ignotas -// Free for non-commercial use. - -// For commercial use, separate licencing terms must be obtained. - +/* + * PicoDrive + * (c) Copyright Dave, 2004 + * (C) notaz, 2006-2009 + * + * This work is licensed under the terms of MAME license. + * See COPYING file in the top-level directory. + */ #include "pico_int.h" #include "cd/gfx_cd.h" @@ -208,7 +208,8 @@ static void DmaSlow(int len) break; default: - elprintf(EL_VDPDMA|EL_ANOMALY, "DMA with bad type %i", Pico.video.type); + if (Pico.video.type != 0 || (EL_LOGMASK & EL_VDPDMA)) + elprintf(EL_VDPDMA|EL_ANOMALY, "DMA with bad type %i", Pico.video.type); break; } // remember addr @@ -545,3 +546,5 @@ unsigned int PicoVideoRead8(unsigned int a) return 0; } + +// vim:shiftwidth=2:ts=2:expandtab