I've been looking into the RAW file saving, there is something in capt_seq_task that I don't understand. Just after the big jump table, in case 0:
"loc_ff87a3dc:\n" // jumptable entry 0
"bl sub_ff87aca0\n"
"bl shooting_expo_param_override\n" // added
"bl sub_ff8780ac\n"
// this code added to avoid some incorrect behavior if overrides are used.
// but it can cause some unexpected side effects. In this case, remove this code!
//"mov r0, #0\n"
//"str r0, [r4, #36]\n" // 0x24 fixes overrides behavior at short shutter press
"ldr r0, [r4, #36]\n"
"cmp r0, #0\n" // 0x0
"beq loc_ff87a5f8\n" // <---- here.
"bl sub_ff879b80\n"
"mov r5, r0\n"
"ldr r0, [r4, #36]\n"
"cmp r0, #0\n" // 0x0
"beq loc_ff87a424\n"
"ldr r0, =0xc\n" // was: "mov ..., #12"
"bl sub_ff87f174\n"
"tst r0, #1\n" // 0x1
"strne r9, [r6, #16]\n"
"ldrne r0, [r5, #8]\n"
"orrne r0, r0, #1073741824\n" // 0x40000000
"strne r0, [r5, #8]\n"
"bne loc_ff87a5f8\n"
"loc_ff87a424:\n"
"mov r0, r5\n"
"bl sub_ff879e24\n"
"mov r0, r5\n"
//"bl sub_ff95f120\n"
"bl sub_ff95f120_my\n" // taskcreate_ShutterSoundTask()
"bl capt_seq_hook_raw_here\n" // added
The line marked "<---- here" always takes the branch, therefore execution never gets to capt_seq_hook_raw_here, which looks to me like where the RAW stuff takes place (at least it sets a flag that is picked up by the spy task).
But the commented out lines "to fix override behaviour" would also force the same thing, in which case I don't understand how the RAW capture would work...
So is what I see causing a problem? If it is normal, how does the RAW capture get triggered?