notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86b38dc
)
avoid unnecessary logging
author
notaz
<notasas@gmail.com>
Tue, 30 Jul 2013 23:27:44 +0000
(
02:27
+0300)
committer
notaz
<notasas@gmail.com>
Tue, 30 Jul 2013 23:58:04 +0000
(
02:58
+0300)
pico/videoport.c
patch
|
blob
|
blame
|
history
diff --git
a/pico/videoport.c
b/pico/videoport.c
index
ab02af8
..
b78c358
100644
(file)
--- a/
pico/videoport.c
+++ b/
pico/videoport.c
@@
-208,7
+208,8
@@
static void DmaSlow(int len)
break;
\r
\r
default:
\r
- elprintf(EL_VDPDMA|EL_ANOMALY, "DMA with bad type %i", Pico.video.type);
\r
+ if (Pico.video.type != 0 || (EL_LOGMASK & EL_VDPDMA))
\r
+ elprintf(EL_VDPDMA|EL_ANOMALY, "DMA with bad type %i", Pico.video.type);
\r
break;
\r
}
\r
// remember addr
\r
@@
-545,3
+546,5
@@
unsigned int PicoVideoRead8(unsigned int a)
\r
return 0;
\r
}
\r
+
\r
+// vim:shiftwidth=2:ts=2:expandtab
\r