This source file includes following definitions.
- capt_seq_hook_set_nr_my
1 #include "lolevel.h"
2 #include "platform.h"
3 #include "core.h"
4 #include "conf.h"
5
6
7
8 static long *nrflag = (long*)0x5CB4;
9
10 #define PAUSE_FOR_FILE_COUNTER 150
11
12 #include "../../../generic/capt_seq.c"
13
14
15 int capt_seq_hook_set_nr_my(int orig)
16 {
17
18 camera_info.state.shutter_open_time = _time((void*)0);
19 camera_info.state.shutter_open_tick_count = get_tick_count();
20
21
22 if (orig!=NR_ON && orig!=NR_OFF)
23 return orig;
24
25 switch (conf.raw_nr){
26 case NOISE_REDUCTION_OFF:
27 return NR_OFF;
28 case NOISE_REDUCTION_ON:
29 return NR_ON;
30 case NOISE_REDUCTION_AUTO_CANON:
31 default:
32 return orig;
33 };
34 }
35