source: trunk/platform/a650/sub/100d/lib.c @ 1527

Revision 1527, 684 bytes checked in by philmoz, 2 years ago (diff)

Merge latest code from reyalp-flt branch to main trunk.

  • Property svn:eol-style set to native
Line 
1#include "platform.h"
2
3void *hook_raw_fptr()
4{
5    return (void*)0;
6}
7
8void *hook_raw_ret_addr()
9{
10    return (void*)0;
11}
12
13char *hook_raw_image_addr()
14{
15 return (char*) (*(int*)0x5684 ? 0x11F6B740 : 0x108057C0);
16 //  return (char*)0x108057C0;
17}
18
19long hook_raw_size()
20{
21    return 0xEE9710;
22}
23
24void *vid_get_viewport_live_fb()
25{
26    return (void*)0;
27}
28
29void *vid_get_bitmap_fb()       
30{
31    return (void*)0x10361000;
32}
33
34void *vid_get_viewport_fb()
35{
36    return (void*)0x1065A560;
37}
38
39void *vid_get_viewport_fb_d()
40{
41    return (void*)(*(int*)0x53E8);  // 0x53A0 + 0x48
42}
43
44long vid_get_viewport_height()
45{
46    return 240;
47}
48
49char *camera_jpeg_count_str()
50{
51    return (char*)0x5CB38;
52}
Note: See TracBrowser for help on using the repository browser.