Read about our upcoming Code of Conduct on this issue

Commit c6890966 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: ensure valid RAM address before executing EDMAC transfers

(EOS M fails here when running FA_CaptureTestImage)

--HG--
branch : qemu
parent 15586890c998
......@@ -500,6 +500,9 @@ static int edmac_do_transfer(EOSState *s, int channel)
(((xa + off1a) * yb + xa + off2b) * xn +
(xb + off1b) * yb + xb + off3);
/* we must have some valid address configured */
assert(s->edmac.ch[channel].addr);
if (channel & 8)
{
/* from memory to image processing modules */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment