I want to change routines which save the picture in order to save it to a "different place" (hidden area in custom SD card).
I found the raw save routines in raw.c (raw_process), but I cannot find the place where the JPG is being saved.
I see firmware hooks in platform/a570/sub/101a/capt_seq.c where they call out to capt_seq_hook_raw_here which in turn sets the flag that raw data is available.
Am I right that the JPG is being saved in the built-in firmware? Or did I miss the place it CHDK where it is saved?