Read about our upcoming Code of Conduct on this issue

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

QEMU: allow reads to EDMAC CHSW registers

(required for FA_CaptureTestImage emulation on 6D and others)

branch : qemu
parent fcc92f69e695
......@@ -865,8 +865,14 @@ unsigned int eos_handle_edmac_chsw ( unsigned int parm, EOSState *s, unsigned in
unsigned int ret = 0;
/* fixme: reads not implemented */
assert(type & MODE_WRITE);
if (!(type & MODE_WRITE))
/* apparently these reads are just bugs in Canon code */
msg = KLRED"unexpected read"KRESET;
// assert(0);
goto end;
if (value == 0x80000000)
/* ?! used on M3 */
1ddca1d13a942d9e1e7f8f57832fd663 frsp.ppm
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