From 0999c445a325442e0c59f8a678b47153a4c5bbbc Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sat, 18 Jun 2022 22:15:46 +0200 Subject: [PATCH 1/2] Forgot one more thing about XGA. Fixes initialization of the card. --- src/machine/machine.c | 2 ++ 1 file changed, 2 insertions(+) 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 From 57fea3ba42cfff2b924a4496fd7818a638d248ba Mon Sep 17 00:00:00 2001 From: TC1995 Date: Sat, 18 Jun 2022 22:20:33 +0200 Subject: [PATCH 2/2] Fixed compile 2. --- src/include/86box/video.h | 3 +++ 1 file changed, 3 insertions(+) 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);