Merge pull request #105 from MoochMcGee/master

Fix a lil MMIO bug in RIVA 128.
This commit is contained in:
OBattler
2017-05-05 02:03:19 +02:00
committed by GitHub
3 changed files with 280 additions and 340 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -130,6 +130,7 @@ extern int svga_init(svga_t *svga, void *p, int memsize,
void (*hwcursor_draw)(struct svga_t *svga, int displine),
void (*overlay_draw)(struct svga_t *svga, int displine));
extern void svga_recalctimings(svga_t *svga);
extern void svga_close(svga_t *svga);
uint8_t svga_read(uint32_t addr, void *p);

View File

@@ -11,7 +11,7 @@ typedef struct
{
int w, h;
uint8_t *dat;
uint8_t *line[0];
uint8_t *line[];
} BITMAP;
extern BITMAP *screen;