equal
deleted
inserted
replaced
15 _screen.height = _cur_resolution[1]; |
15 _screen.height = _cur_resolution[1]; |
16 _null_video_mem = malloc(_cur_resolution[0] * _cur_resolution[1]); |
16 _null_video_mem = malloc(_cur_resolution[0] * _cur_resolution[1]); |
17 return NULL; |
17 return NULL; |
18 } |
18 } |
19 |
19 |
20 static void NullVideoStop(void) { free(_null_video_mem); } |
20 static void NullVideoStop() { free(_null_video_mem); } |
21 |
21 |
22 static void NullVideoMakeDirty(int left, int top, int width, int height) {} |
22 static void NullVideoMakeDirty(int left, int top, int width, int height) {} |
23 |
23 |
24 static void NullVideoMainLoop(void) |
24 static void NullVideoMainLoop() |
25 { |
25 { |
26 uint i; |
26 uint i; |
27 |
27 |
28 for (i = 0; i < 1000; i++) { |
28 for (i = 0; i < 1000; i++) { |
29 GameLoop(); |
29 GameLoop(); |