Changeset 1728


Ignore:
Timestamp:
03/14/12 03:33:52 (15 months ago)
Author:
reyalp
Message:

untested live view bitmap + palette functions for g10 102a

Location:
branches/reyalp-ptp-live/platform/g10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp-live/platform/g10/lib.c

    r1568 r1728  
    8888        return 2;               // G10 viewport is 480 pixels high 
    8989} 
     90 
     91// looks like 256 byte from sub_FF8F3270 
     92int vid_get_palette_type() { return 3; } 
     93int vid_get_palette_size() { return 256*4; } 
     94 
  • branches/reyalp-ptp-live/platform/g10/sub/102a/lib.c

    r1329 r1728  
    7474    return fb[buff]; 
    7575} 
     76 
     77// ptp 
     78void *vid_get_bitmap_active_palette() { 
     79    return (void *)*(unsigned int*)(0x8034+0x28);  // sub_FF8F3270, via sub_FF9D5264 two refs to "Palette Class." 
     80} 
     81 
     82void *vid_get_bitmap_active_buffer() 
     83{ 
     84    return (void*)(*(int*)(0x8034+0x14)); // sub_FF8F331C via "Add: %p Width : %ld Hight : %ld",  
     85} 
     86 
Note: See TracChangeset for help on using the changeset viewer.