[FS] Implement ControlArchive

This commit is contained in:
wheremyfoodat 2023-04-12 02:19:16 +03:00
parent eaa7b4d55b
commit 3a674a1ba0
4 changed files with 41 additions and 2 deletions

View file

@ -111,6 +111,14 @@ void GPU::writeInternalReg(u32 index, u32 value, u32 mask) {
}
break;
// Restart immediate mode primitive drawing
case PrimitiveRestart:
if (value & 1) {
immediateModeAttrIndex = 0;
immediateModeVertIndex = 0;
}
break;
case FixedAttribData0: case FixedAttribData1: case FixedAttribData2:
fixedAttrBuff[fixedAttribCount++] = value;