Revision 8571c055 console.c
b/console.c | ||
---|---|---|
167 | 167 |
|
168 | 168 |
void vga_hw_screen_dump(const char *filename) |
169 | 169 |
{ |
170 |
/* There is currently no was of specifying which screen we want to dump, |
|
170 |
TextConsole *previous_active_console; |
|
171 |
|
|
172 |
previous_active_console = active_console; |
|
173 |
active_console = consoles[0]; |
|
174 |
/* There is currently no way of specifying which screen we want to dump, |
|
171 | 175 |
so always dump the dirst one. */ |
172 | 176 |
if (consoles[0]->hw_screen_dump) |
173 | 177 |
consoles[0]->hw_screen_dump(consoles[0]->hw, filename); |
178 |
active_console = previous_active_console; |
|
174 | 179 |
} |
175 | 180 |
|
176 | 181 |
void vga_hw_text_update(console_ch_t *chardata) |
Also available in: Unified diff