Fixed PCjr 640x200x2 mode.
This commit is contained in:
parent
7515a76c8c
commit
624ef9ba3c
1 changed files with 3 additions and 4 deletions
|
|
@ -240,8 +240,7 @@ void pcjr_poll(void *p)
|
|||
offset = (pcjr->sc & 3) * 0x2000;
|
||||
break;
|
||||
}
|
||||
|
||||
switch ((pcjr->array[0] & 0x13) | ((pcjr->array[3] & 0x10) << 4))
|
||||
switch ((pcjr->array[0] & 0x13) | ((pcjr->array[3] & 0x08) << 5))
|
||||
{
|
||||
case 0x13: /*320x200x16*/
|
||||
for (x = 0; x < pcjr->crtc[1]; x++)
|
||||
|
|
@ -392,8 +391,8 @@ void pcjr_poll(void *p)
|
|||
}
|
||||
break;
|
||||
case 0x102: /*640x200x2*/
|
||||
cols[0] = 0;
|
||||
cols[1] = pcjr->array[0 + 16] + 16;
|
||||
cols[0] = pcjr->array[0 + 16] + 16;
|
||||
cols[1] = pcjr->array[1 + 16] + 16;
|
||||
for (x = 0; x < pcjr->crtc[1]; x++)
|
||||
{
|
||||
dat = (pcjr->vram[((pcjr->ma << 1) & mask) + offset] << 8) |
|
||||
|
|
|
|||
Loading…
Reference in a new issue