This source file includes following definitions.
- hook_raw_fptr
- hook_raw_ret_addr
- hook_raw_image_addr
- vid_get_bitmap_fb
- vid_get_viewport_fb
- vid_get_viewport_fb_d
- vid_get_viewport_height
- vid_get_viewport_live_fb
- camera_jpeg_count_str
1 #include "platform.h"
2
3 void *hook_raw_fptr()
4 {
5 return (void*)0x3FCF0;
6 }
7
8 void *hook_raw_ret_addr()
9 {
10 return (void*)0xFF998998;
11 }
12
13 char *hook_raw_image_addr()
14 {
15 return (char*)0x1058EBD4;
16 }
17
18
19
20
21 void *vid_get_bitmap_fb()
22 {
23 return (void*)0x103C79A0;
24 }
25
26
27
28
29 void *vid_get_viewport_fb()
30 {
31 return (void*)0x105F1370;
32 }
33
34
35
36
37 void *vid_get_viewport_fb_d()
38 {
39 return (void*)(*(int*)0x7BAD8);
40 }
41
42 long vid_get_viewport_height()
43 {
44 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
45 }
46
47 void *vid_get_viewport_live_fb()
48 {
49 return (void*)0x0;
50 }
51
52 char *camera_jpeg_count_str()
53 {
54 return (char*)0x9B58;
55 }