Ignore:
Timestamp:
02/29/12 08:53:35 (15 months ago)
Author:
msl
Message:

PTP display stuff

  • author: rudi

+ added GetPaletteFromPhysicalScreen? & DisplayPhysicalScreenWithYUVPalette for A590 101b and A720 100c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp-live/platform/a720/sub/100c/lib.c

    r1527 r1703  
    5858    return (char*)0x580CC; 
    5959} 
     60 
     61// PTP display stuff 
     62int vid_get_palette_type() { return 1; } 
     63int vid_get_palette_size() { return 16*4; } 
     64 
     65void *vid_get_bitmap_active_palette() { 
     66    return (void *)0x4183C; // GetPaletteFromPhysicalScreen 
     67} 
     68 
     69void *vid_get_bitmap_active_buffer() 
     70{ 
     71    return (void*)(*(int*)0x93A0); // DisplayPhysicalScreenWithYUVPalette 
     72} 
Note: See TracChangeset for help on using the changeset viewer.