File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -747,8 +747,8 @@ chips_69000_recalctimings(svga_t *svga)
747747
748748 svga -> interlace = !!(svga -> crtc [0x70 ] & 0x80 );
749749
750- if (svga -> dispend == 2002 && svga -> hdisp == 1024 ) {
751- svga -> dispend = 1280 ;
750+ if (svga -> hdisp == 1280 && svga -> dispend == 1024 ) {
751+ svga -> interlace = 0 ;
752752 }
753753
754754 switch (chips -> ext_regs [0x81 ] & 0xF ) {
@@ -1541,8 +1541,10 @@ chips_69000_write_ext_reg(chips_69000_t* chips, uint8_t val)
15411541 case 0xA7 :
15421542 chips -> ext_regs [chips -> ext_index ] = val ;
15431543 chips -> svga .hwcursor .y = chips -> ext_regs [0xA6 ] | (val & 7 ) << 8 ;
1544- if (chips -> ext_regs [0xA7 ] & 0x80 )
1545- chips -> svga .hwcursor .y = - chips -> svga .hwcursor .y ;
1544+ if (chips -> ext_regs [0xA7 ] & 0x80 ){
1545+ chips -> svga .hwcursor .yoff = chips -> svga .hwcursor .y ;
1546+ chips -> svga .hwcursor .y = 0 ;
1547+ }
15461548 break ;
15471549 case 0xC8 :
15481550 case 0xC9 :
You can’t perform that action at this time.
0 commit comments