add support for polygon ID and conditional depth update for translucent pixels

This commit is contained in:
StapleButter
2017-04-22 16:47:31 +02:00
parent eb656857d9
commit 4f72ee3895
2 changed files with 47 additions and 29 deletions

View File

@ -47,6 +47,15 @@ public:
Halted = halt;
}
void CheckIRQ()
{
if (!(NDS::IME[Num] & 0x1)) return;
if (NDS::IF[Num] & NDS::IE[Num])
{
TriggerIRQ();
}
}
s32 Execute();
bool CheckCondition(u32 code)