[PICA interpreter] Implement RSQ, MAD, CALLU and boot SM64

This commit is contained in:
wheremyfoodat 2022-09-26 01:05:03 +03:00
parent f4fabdae40
commit 979519f785
4 changed files with 119 additions and 1 deletions
src/core/PICA

View file

@ -100,6 +100,10 @@ void GPU::writeInternalReg(u32 index, u32 value, u32 mask) {
shaderUnit.vs.uploadDescriptor(value);
break;
case VertexBoolUniform:
shaderUnit.vs.boolUniform = value & 0xffff;
break;
case VertexIntUniform0: case VertexIntUniform1: case VertexIntUniform2: case VertexIntUniform3:
shaderUnit.vs.uploadIntUniform(index - VertexIntUniform0, value);
break;