mirror of
https://github.com/86Box/86Box.git
synced 2025-01-22 17:22:25 -05:00
Fix Mach64 LFB in some cases.
These few cases where it gets corrupt fonts like in some builds of NT 4.0 and mode changes in Win95's driver. Hopefully this keeps everything else intact.
This commit is contained in:
parent
b9ae4575a2
commit
94c30b06f0
1 changed files with 0 additions and 14 deletions
|
@ -4253,13 +4253,6 @@ mach64_read_linear(uint32_t addr, void *priv)
|
|||
|
||||
cycles -= svga->monitor->mon_video_timing_read_b;
|
||||
|
||||
if (!svga->fast) {
|
||||
if (svga->chain2_read) {
|
||||
addr &= ~1;
|
||||
addr <<= 2;
|
||||
}
|
||||
}
|
||||
|
||||
addr &= svga->decode_mask;
|
||||
if (addr >= svga->vram_max)
|
||||
return 0xff;
|
||||
|
@ -4302,13 +4295,6 @@ mach64_write_linear(uint32_t addr, uint8_t val, void *priv)
|
|||
|
||||
cycles -= svga->monitor->mon_video_timing_write_b;
|
||||
|
||||
if (!svga->fast) {
|
||||
if (svga->chain2_write) {
|
||||
addr &= ~1;
|
||||
addr <<= 2;
|
||||
}
|
||||
}
|
||||
|
||||
addr &= svga->decode_mask;
|
||||
if (addr >= svga->vram_max)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue