mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Remove screendump dummy functions.
The code in console.c verifies whenever a screen_dump function pointer is present before calling it, so there is no need to supply an dummy function. Remove them. Also report an error to notify the user that he didn't got a screenshot. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
9a51f5b067
commit
1673510204
3 changed files with 4 additions and 12 deletions
|
@ -184,6 +184,8 @@ void vga_hw_screen_dump(const char *filename)
|
|||
console_select(0);
|
||||
if (consoles[0] && consoles[0]->hw_screen_dump) {
|
||||
consoles[0]->hw_screen_dump(consoles[0]->hw, filename);
|
||||
} else {
|
||||
error_report("screen dump not implemented");
|
||||
}
|
||||
|
||||
if (previous_active_console) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue