diff --git a/src/include/86box/video.h b/src/include/86box/video.h index 7253e1049..513cb99ad 100644 --- a/src/include/86box/video.h +++ b/src/include/86box/video.h @@ -200,6 +200,9 @@ extern void agpgart_set_gart(void *handle, uint32_t base); #ifdef EMU_DEVICE_H +/* IBM XGA */ +extern void xga_device_add(void); + /* IBM 8514/A and generic clones*/ extern void ibm8514_device_add(void); diff --git a/src/machine/machine.c b/src/machine/machine.c index 8bd83b6ba..1549ce7c6 100644 --- a/src/machine/machine.c +++ b/src/machine/machine.c @@ -118,6 +118,8 @@ machine_init_ex(int m) if (ibm8514_enabled) { ibm8514_device_add(); } + if (xga_enabled) + xga_device_add(); } /* Reset the graphics card (or do nothing if it was already done