Assembla home | Assembla project page
 

Changeset 773

Show
Ignore:
Timestamp:
06/09/09 21:42:35 (9 months ago)
Author:
fudgey
Message:

MD speedup for a700 from TonyH in
http://chdk.setepontos.com/index.php/topic,405.msg35010.html#msg35010

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/platform/a700/sub/100b/lib.c

    r515 r773  
    2323void *vid_get_viewport_live_fb() 
    2424{ 
    25     return (void*)0; 
     25//    return (void*)0x0; 
     26    void **fb=(void **)0x5264; 
     27    unsigned char buff = *((unsigned char*)0x5274); 
     28    if (buff == 0) { 
     29        buff = 2; 
     30    } 
     31    else { 
     32        buff--; 
     33    } 
     34    return fb[buff]; 
    2635} 
    2736