Test version with fix_writable_media_flag in boot.c
whim
Hi,
Seems I'm too late to report the mode numbers, but another thing I noticed:
- cam* always starts in "rec" mode (w/ either on/off or play button)
stay safe,
whim
* = ixus 265 with your test build, so must be 100c
Thanks for the report.
I don't know what to say about the problem with starting in rec mode.
sub_FF06E0EC looks suspicious, but I can't follow it too deep.
STMFD SP!, {R4,LR}
LDR R3, =0x2AD8
LDR R4, [SP,#8+arg_0]
MOV R12, #0
CMP R4, #0
STR R12, [R3]
MOVNE R12, #0x80000
STRNE R12, [R3]
CMP R2, #0
ORRNE R2, R12, #0x400000
STRNE R2, [R3]
CMP R0, #0
LDRNE R0, [R3]
ORRNE R0, R0, #0x100000
STRNE R0, [R3]
CMP R1, #0
LDRNE R0, [R3]
ORRNE R0, R0, #0x200000
STRNE R0, [R3]
LDMFD SP!, {R4,PC}
In boot.c we currently have:
// Replacement of sub_ for correct power-on.
// (short press = playback mode, long press = record mode)
// value and pointer from sub_FF06E0EC ixus265_elph340hs-100c
*(int*)(0x2ad๐ = (*(int*)0xC022F484)&0x80000 ? 0x200000 : 0x100000;