Changeset 1425
- Timestamp:
- 11/23/11 21:45:17 (18 months ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
core/gui_menu.c (modified) (1 diff)
-
platform/generic/wrappers.c (modified) (1 diff)
-
platform/sx30/sub/100h/lib.c (modified) (1 diff)
-
platform/sx40hs/sub/100g/boot.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui_menu.c
r1422 r1425 115 115 gui_menu_set_curr_menu(gui_menu_stack[gui_menu_stack_ptr].menu, gui_menu_stack[gui_menu_stack_ptr].toppos, gui_menu_stack[gui_menu_stack_ptr].curpos); 116 116 gui_menu_erase_and_redraw(); 117 } 118 else 119 { 120 // 'Back' selected; but no menu to go back to 121 // Occurs when script menu opened using 'Func/Set' button 122 // Return to normal <ALT> mode. 123 gui_set_mode(GUI_MODE_ALT); 124 kbd_reset_autoclicked_key(); // Need this to stop 'Func/Set' registering twice??? 125 draw_restore(); 117 126 } 118 127 } -
trunk/platform/generic/wrappers.c
r1419 r1425 256 256 void lens_set_focus_pos(long newpos) 257 257 { 258 #if defined(CAMERA_g12) || defined(CAMERA_g10) // G12 & G10 crash if in Continuous AF mode and try to call _MoveFocusLensToDistance258 #if defined(CAMERA_g12) || defined(CAMERA_g10) // G12 & G10 crash if in Continuous AF mode, and not MF, and try to call _MoveFocusLensToDistance 259 259 int af_mode; 260 260 get_property_case(PROPCASE_CONTINUOUS_AF,&af_mode,sizeof(af_mode)); 261 if ( af_mode == 0) // can only set focus distance whennot in continuous AF mode261 if ((af_mode == 0) || (shooting_get_focus_mode() == 1)) // can only set focus distance when MF mode or not in continuous AF mode 262 262 #endif 263 263 { -
trunk/platform/sx30/sub/100h/lib.c
r1316 r1425 56 56 void *vid_get_viewport_live_fb() 57 57 { 58 // Found by searching RAM locations that referenced 0x40587700 (viewport buffer) 59 // and also changed to the other buffer addresses over time. Then used each here 60 // and selected value that gave the fastest Motion Detect response using http://dataghost.com/chdk/md_meter.html. 58 61 return (void*)(*(int*)(0x20C8)); 59 //// Values below found by searching firmware for references & usage of viewport buffer address 0x4058770060 //// then experimenting to see what gave best Motion Detector speed results using http://dataghost.com/chdk/md_meter.html.61 //long* t = (long*)0xFFB968C4; // Table of viewport buffer addresses (@FF853F24 in _sub_FF853DC0__LiveImage.c__10)62 //unsigned char i = *((unsigned char*)(0x20a8)); // Index value (byte) stored here (@FF853F50 in _sub_FF853DC0__LiveImage.c__10)63 //return (void*)t[(i-1)&3]; // Appears to be 4 buffers, current index - 1 seems best64 62 } 65 63 -
trunk/platform/sx40hs/sub/100g/boot.c
r1414 r1425 460 460 461 461 ///*---------------------------------------------------------------------- 462 // @ FF8A3B4C462 // @ 0xff09bbb0 463 463 void __attribute__((naked,noinline)) init_file_modules_task() { 464 464 asm volatile(
Note: See TracChangeset
for help on using the changeset viewer.