Revision 250
in-game timer
interrupts_func.c | ||
---|---|---|
145 | 145 |
return r; |
146 | 146 |
} |
147 | 147 |
|
148 |
void interrupt_handler(uint8_t handler) {
|
|
148 |
void (interrupt_handler)(uint8_t handler) {
|
|
149 | 149 |
if (handler >= 32) return; |
150 | 150 |
if ((*ih[handler]) == NULL) return; |
151 | 151 |
(*ih[handler])(); |
152 | 152 |
} |
153 |
|
|
154 |
void (timer_manager)() { |
|
155 |
|
|
156 |
} |
|
157 |
|
|
158 |
void (mouse_manager)() { |
|
159 |
|
|
160 |
} |
Also available in: Unified diff