...
|
...
|
@@ -310,16 +310,7 @@ screen_talk(Device *d, Uint8 b0, Uint8 w)
|
310
|
310
|
Uint16 x = mempeek16(d->dat, 0x8);
|
311
|
311
|
Uint16 y = mempeek16(d->dat, 0xa);
|
312
|
312
|
Uint8 layer = d->dat[0xe] >> 4 & 0x1;
|
313
|
|
- Uint8 mode = d->dat[0xe] >> 5;
|
314
|
|
- if(!mode)
|
315
|
|
- ppu_pixel(&ppu, layer, x, y, d->dat[0xe] & 0x3);
|
316
|
|
- else {
|
317
|
|
- Uint8 *addr = &d->mem[mempeek16(d->dat, 0xc)];
|
318
|
|
- if(mode-- & 0x1)
|
319
|
|
- ppu_1bpp(&ppu, layer, x, y, addr, d->dat[0xe] & 0xf, mode & 0x2, mode & 0x4);
|
320
|
|
- else
|
321
|
|
- ppu_2bpp(&ppu, layer, x, y, addr, d->dat[0xe] & 0xf, mode & 0x2, mode & 0x4);
|
322
|
|
- }
|
|
313
|
+ ppu_pixel(&ppu, layer, x, y, d->dat[0xe] & 0x3);
|
323
|
314
|
reqdraw = 1;
|
324
|
315
|
} else if(w && b0 == 0xf) {
|
325
|
316
|
Uint16 x = mempeek16(d->dat, 0x8);
|