Rev 3707 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3707 | Rev 3718 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <stdio.h> |
36 | #include <stdio.h> |
37 | 37 | ||
38 | #include "fb.h" |
38 | #include "fb.h" |
39 | #include "ega.h" |
39 | #include "ega.h" |
40 | #include "msim.h" |
40 | #include "msim.h" |
- | 41 | #include "ski.h" |
|
41 | #include "sgcn.h" |
42 | #include "sgcn.h" |
42 | #include "main.h" |
43 | #include "main.h" |
43 | 44 | ||
44 | #define NAME "fb" |
45 | #define NAME "fb" |
45 | 46 | ||
Line 84... | Line 85... | ||
84 | if ((!initialized) && (sysinfo_value("fb.kind") == 4)) { |
85 | if ((!initialized) && (sysinfo_value("fb.kind") == 4)) { |
85 | if (sgcn_init() == 0) |
86 | if (sgcn_init() == 0) |
86 | initialized = true; |
87 | initialized = true; |
87 | } |
88 | } |
88 | #endif |
89 | #endif |
- | 90 | #ifdef SKI_ENABLED |
|
- | 91 | if ((!initialized) && (sysinfo_value("fb") != true)) { |
|
- | 92 | if (ski_init() == 0) |
|
- | 93 | initialized = true; |
|
- | 94 | } |
|
- | 95 | #endif |
|
89 | 96 | ||
90 | if (!initialized) |
97 | if (!initialized) |
91 | return -1; |
98 | return -1; |
92 | 99 | ||
93 | if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) |
100 | if (ipc_connect_to_me(PHONE_NS, SERVICE_VIDEO, 0, 0, &phonead) != 0) |