Merge pull request #2395 from 86Box/tc1995

Forgot one more thing about XGA. Fixes initialization of the card.
This commit is contained in:
Miran Grča
2022-06-18 22:23:10 +02:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -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);

View File

@@ -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