Rev 7984 | Rev 8407 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7984 | Rev 8400 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | // // |
68 | // // |
69 | //===================================================// |
69 | //===================================================// |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | void main() |
71 | void main() |
72 | { |
- | |
73 | if (param) { |
- | |
74 | SetAdditionalSystemDirectory("kolibrios", #param+1); |
- | |
75 | ExitProcess(); |
- | |
76 | } |
- | |
77 | 72 | { |
|
78 | WaitAutosearch(); |
73 | WaitAutosearch(); |
Line 79... | Line 74... | ||
79 | CheckKosMounted(); |
74 | CheckKosMounted(); |
80 | 75 | ||
Line 88... | Line 83... | ||
88 | { |
83 | { |
89 | case evButton: |
84 | case evButton: |
90 | EventButton(GetButtonID()); |
85 | EventButton(GetButtonID()); |
91 | break; |
86 | break; |
92 | case evKey: |
87 | case evKey: |
93 | GetKeyScancode(); |
88 | @GetKeyScancode(); |
94 | if (AL == SCAN_CODE_ENTER) { |
89 | if (AL == SCAN_CODE_ENTER) { |
95 | EventButton(active_button_id); |
90 | EventButton(active_button_id); |
96 | } else if (AL == SCAN_CODE_TAB) { |
91 | } else if (AL == SCAN_CODE_TAB) { |
97 | active_button_id = active_button_id-10^1 + 10; |
92 | active_button_id = active_button_id-10^1 + 10; |
98 | DrawButtons(); |
93 | DrawButtons(); |