Ignore:
Timestamp:
01/01/11 22:51:22 (2 years ago)
Author:
reyalP
Message:

sx30 100e, 100h, 100l and g12 100c support from from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg59036#msg59036
not added to autobuild yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/edgeoverlay.c

    r955 r1008  
    4242#if CAM_USES_ASPECT_CORRECTION//nandoide sept-2009 get the viewport dimensions, not the screen dimensions, on sx200is they aren't the same. 
    4343    viewport_height = vid_get_viewport_height()-EDGE_HMARGIN*2; //don't trace bottom lines 
     44#if defined (CAM_VIEWPORT_BUFFER_WIDTH_FIX) // buffer is wider than viewport on G12 
     45    viewportw = vid_get_viewport_width(); 
     46    viewport_width = vid_get_viewport_buffer_width() * 3; 
     47#else 
    4448    viewportw = vid_get_viewport_width(); 
    4549    viewport_width = viewportw * 3; 
     50#endif 
    4651#else 
    4752    viewport_height = screen_height;//vid_get_viewport_height(); 
Note: See TracChangeset for help on using the changeset viewer.