Add some TODOs.

This commit is contained in:
NeoBrainX 2013-01-08 18:33:58 +01:00
parent d3882771aa
commit e204a6e015
2 changed files with 3 additions and 1 deletions

View file

@ -293,7 +293,8 @@ void Interpreter::mfspr(UGeckoInstruction _inst)
case SPR_WPAR:
{
// If wpar_empty ever is false, Paper Mario hangs. Strange.
// TODO: If wpar_empty ever is false, Paper Mario hangs. Strange.
// Maybe WPAR is automatically flushed after a certain amount of time?
bool wpar_empty = true; //GPFifo::IsEmpty();
if (!wpar_empty)
rSPR(iIndex) |= 1; // BNE = buffer not empty

View file

@ -1201,6 +1201,7 @@ void Renderer::ApplyState(bool bUseDstAlpha)
{
if (bUseDstAlpha)
{
// TODO: WTF is this crap? We're enabling color writing regardless of the actual GPU state here...
D3D::ChangeRenderState(D3DRS_COLORWRITEENABLE, D3DCOLORWRITEENABLE_ALPHA);
D3D::ChangeRenderState(D3DRS_ALPHABLENDENABLE, false);
if(bpmem.zmode.testenable && bpmem.zmode.updateenable)