mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
avoid unnecessary logging
This commit is contained in:
parent
86b38dc46d
commit
e7b3ad1bda
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue