This source file includes following definitions.
- hook_raw_image_addr
- vid_get_viewport_fb_d
- JogDial_CW
- JogDial_CCW
- review_fullscreen_mode
1 #include "platform.h"
2 #include "lolevel.h"
3
4
5 char *hook_raw_image_addr()
6 {
7 return (char*) (*(int*)(0x5854+0x18) ? 0x11F8F740 : 0x108297C0);
8 }
9
10 void *vid_get_viewport_fb_d()
11 {
12 return (void*)(*(int*)0x55A0);
13 }
14
15 void JogDial_CW(void){
16 (*(short*)(0x263C+2))--;
17
18 *(int*)(0x263C+0x14)=0x32;
19 _GiveSemaphore(*(int*)(0x263C+0x0C));
20 }
21
22 void JogDial_CCW(void){
23 (*(short*)(0x263C+2))++;
24
25 *(int*)(0x263C+0x14)=0x32;
26 _GiveSemaphore(*(int*)(0x263C+0x0C));
27 }
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 int review_fullscreen_mode(){
44 char r;
45 get_parameter_data(53, &r, 1);
46 return r==0;
47 }
48
49