Skip to content

Commit

Permalink
Ok fixed for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 authored Jan 29, 2024
1 parent dde2309 commit f313e42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/video/vid_c&t_69000.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ chips_69000_do_rop_24bpp_patterned(uint32_t *dst, uint32_t src, uint8_t nonpatte
void
chips_69000_recalctimings(svga_t *svga)
{
chips_69000_t *chips = (chips_69000_t *) svga->p;
chips_69000_t *chips = (chips_69000_t *) svga->priv;

if (chips->ext_regs[0x81] & 0x10) {
svga->htotal -= 5;
Expand Down Expand Up @@ -1265,10 +1265,10 @@ chips_69000_init(const device_t *info)
video_inform(VIDEO_FLAG_TYPE_SPECIAL, &timing_sis);

svga_init(info, &chips->svga, chips, 1 << 21, /*2048kb*/
NULL,
chips_69000_recalctimings,
chips_69000_in, chips_69000_out,
NULL,
chips_69000_recalctimings);
NULL);

io_sethandler(0x03c0, 0x0020, chips_69000_in, NULL, NULL, chips_69000_out, NULL, NULL, chips);

Expand Down

0 comments on commit f313e42

Please sign in to comment.