Changeset 1531
- Timestamp:
- 01/06/12 22:39:47 (17 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
platform/sx150is/sub/100a/stubs_entry.S (modified) (1 diff)
-
tools/finsig_dryos.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/platform/sx150is/sub/100a/stubs_entry.S
r1448 r1531 33 33 //DEF(playrec_mode ,0x00002eb8) // Found @0xff8877d0, stubs_min = 0x00002eb8 (0x00002eb8) 34 34 //DEF(zoom_status ,0x0000d520) // Found @0xffafaf48, stubs_min = 0x0000d520 (0x0000d520) 35 // focus_len_table contains zoom focus lengths for use in 'get_focal_length' (main.c). 36 // each entry contains 2 int value(s), the first is the zoom focus length. 37 // there are 128 entries in the table - set NUM_FL to 128 38 DEF(focus_len_table ,0xfffeabd8) // Found @0xfffeabd8 35 39 //DEF(zoom_busy ,0x00006dcc) // Found @0xff98138c, stubs_min = 0x00006dcc (0x6DB0+0x1C) 36 40 //DEF(focus_busy ,0x00006c5c) // Found @0xff97b73c, stubs_min = 0x00006c5c (0x6C54+8) -
trunk/tools/finsig_dryos.c
r1486 r1531 842 842 cam_idx = (((fw->base==0xFF000000)?0xFFF40190:0xFFFE0170) - fw->base) / 4; 843 843 pid_idx = (((fw->base==0xFF000000)?0xFFF40040:0xFFFE0040) - fw->base) / 4; 844 if ((cam_idx < fw->size) && (strncmp((char*)&fw->buf[cam_idx],"Canon ",6) != 0)) 845 cam_idx = (((fw->base==0xFF000000)?0xFFF40170:0xFFFE0170) - fw->base) / 4; 844 846 break; 845 847 } … … 3184 3186 { 3185 3187 int mul = 1; 3186 if (fw->buf[k+1] == 100) mul = 3; 3188 if ((fw->buf[k+1] == 100) && (fw->buf[k+2] == 0)) mul = 3; 3189 if ((fw->buf[k+1] == 100) && (fw->buf[k+2] != 0)) mul = 2; 3187 3190 for (k1 = k + mul; (k1 < fw->size) && (fw->buf[k1] > fw->buf[k1-mul]) && (fw->buf[k1] != max_focus_len); k1 += mul) ; 3188 3191 if (fw->buf[k1] == max_focus_len)
Note: See TracChangeset
for help on using the changeset viewer.