panic if cirrus support is requested but not available to avoid segfault
This commit is contained in:
parent
7c0a261751
commit
d943feaf8e
@ -208,7 +208,7 @@ void bx_devices_c::init(BX_MEM_C *newmem)
|
||||
#if BX_SUPPORT_CLGD54XX
|
||||
PLUG_load_plugin(svga_cirrus, PLUGTYPE_CORE);
|
||||
#else
|
||||
BX_ERROR(("Bochs is not compiled with Cirrus support"));
|
||||
BX_PANIC(("Bochs is not compiled with Cirrus support"));
|
||||
#endif
|
||||
} else {
|
||||
PLUG_load_plugin(vga, PLUGTYPE_CORE);
|
||||
|
Loading…
Reference in New Issue
Block a user