Merge remote-tracking branch 'upstream/master' into feature/ich2

This commit is contained in:
Jasmine Iwanek
2023-01-27 14:10:07 -05:00
14 changed files with 190 additions and 157 deletions

View File

@@ -33,6 +33,8 @@
# define FLAG_RAMDAC_SHIFT 64
# define FLAG_128K_MASK 128
struct monitor_t;
typedef struct {
int ena,
x, y, xoff, yoff, cur_xsize, cur_ysize,
@@ -170,6 +172,12 @@ typedef struct svga_t {
uint32_t (*remap_func)(struct svga_t *svga, uint32_t in_addr);
void *ramdac, *clock_gen;
/* Monitor Index */
uint8_t monitor_index;
/* Pointer to monitor */
monitor_t* monitor;
} svga_t;
extern int vga_on, ibm8514_on;

View File

@@ -506,6 +506,7 @@ typedef struct voodoo_t {
uint8_t *vram, *changedvram;
void *p;
uint8_t monitor_index;
} voodoo_t;
typedef struct voodoo_set_t {