KDrive: Bail out if screen initialization failed
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Mar 2013 14:20:00 +0000 (15:20 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 18 Apr 2013 11:10:25 +0000 (13:10 +0200)
commitb08afbc53c1d583c3913b92e67db44823077b112
treee541ef1c38d97f964c6f92c13264ba6ddf9ad803
parente7045c9dd208a1afe36526ab21ef15f8b01c8bd2
KDrive: Bail out if screen initialization failed

Else we may get a segmentation fault later.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
hw/kdrive/src/kdrive.c