mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
Fix Mii Maker texture export + remove GX2SetColorBuffer assertion for linear special.
This commit is contained in:
parent
244aeb00dd
commit
1e1b2c14c5
@ -1307,8 +1307,9 @@ LatteTexture::LatteTexture(Latte::E_DIM dim, MPTR physAddress, MPTR physMipAddre
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// determine if this texture should ever be mirrored to CPU RAM
|
// determine if this texture should ever be mirrored to CPU RAM.
|
||||||
if (this->tileMode == Latte::E_HWTILEMODE::TM_LINEAR_ALIGNED)
|
if (this->tileMode == Latte::E_HWTILEMODE::TM_LINEAR_ALIGNED ||
|
||||||
|
this->tileMode == Latte::E_HWTILEMODE::TM_LINEAR_GENERAL)
|
||||||
{
|
{
|
||||||
this->enableReadback = true;
|
this->enableReadback = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -176,8 +176,6 @@ void gx2Export_GX2SetColorBuffer(PPCInterpreter_t* hCPU)
|
|||||||
gx2WriteGather_submitU32AsBE(mmCB_COLOR0_SIZE - 0xA000 + hCPU->gpr[4]);
|
gx2WriteGather_submitU32AsBE(mmCB_COLOR0_SIZE - 0xA000 + hCPU->gpr[4]);
|
||||||
gx2WriteGather_submitU32AsBE((uint32)colorBufferBE->reg_size);
|
gx2WriteGather_submitU32AsBE((uint32)colorBufferBE->reg_size);
|
||||||
|
|
||||||
cemu_assert_debug(tileMode != Latte::E_GX2TILEMODE::TM_LINEAR_SPECIAL);
|
|
||||||
|
|
||||||
// set mmCB_COLOR*_VIEW
|
// set mmCB_COLOR*_VIEW
|
||||||
gx2WriteGather_submit(
|
gx2WriteGather_submit(
|
||||||
pm4HeaderType3(IT_SET_CONTEXT_REG, 2),
|
pm4HeaderType3(IT_SET_CONTEXT_REG, 2),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user