Added BX_INFO for unimplemented trilinear textures and small code cleanup.
This commit is contained in:
parent
439152d2e4
commit
3aba63304a
@ -1258,14 +1258,10 @@ void bx_banshee_c::blt_launch_area_setup()
|
||||
BLT.h2s_alt_align = 0;
|
||||
pxpack = (BLT.reg[blt_srcFormat] >> 22) & 3;
|
||||
BLT.src_wizzle = (BLT.reg[blt_srcFormat] >> 20) & 0x03;
|
||||
if ((BLT.reg[blt_srcXY] & 0x1f) != 0) {
|
||||
if (BLT.src_fmt == 0) {
|
||||
BLT.h2s_pxstart = BLT.reg[blt_srcXY] & 0x1f;
|
||||
} else {
|
||||
BLT.h2s_pxstart = BLT.reg[blt_srcXY] & 0x03;
|
||||
}
|
||||
if (BLT.src_fmt == 0) {
|
||||
BLT.h2s_pxstart = BLT.reg[blt_srcXY] & 0x1f;
|
||||
} else {
|
||||
BLT.h2s_pxstart = 0;
|
||||
BLT.h2s_pxstart = BLT.reg[blt_srcXY] & 0x03;
|
||||
}
|
||||
if (BLT.src_fmt == 0) {
|
||||
pbytes = ((BLT.dst_w + BLT.h2s_pxstart + 7) >> 3);
|
||||
|
@ -1440,6 +1440,7 @@ void register_w(Bit32u offset, Bit32u data, bx_bool log)
|
||||
Bit32u regnum = (offset) & 0xff;
|
||||
Bit32u chips = (offset>>8) & 0xf;
|
||||
Bit64s data64;
|
||||
static Bit32u count = 0;
|
||||
|
||||
if (chips == 0)
|
||||
chips = 0xf;
|
||||
@ -1867,6 +1868,10 @@ void register_w(Bit32u offset, Bit32u data, bx_bool log)
|
||||
v->tmu[1].reg[regnum].u = data;
|
||||
v->tmu[1].regdirty = 1;
|
||||
}
|
||||
if ((chips & 6) && (regnum == textureMode) && TEXMODE_TRILINEAR(data)) {
|
||||
if (count < 50) BX_INFO(("Trilinear textures not implemented yet"));
|
||||
count++;
|
||||
}
|
||||
break;
|
||||
|
||||
case trexInit1:
|
||||
|
Loading…
Reference in New Issue
Block a user