mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-14 10:09:48 +12:00
[Shader JIT] Fix MAD (again)
This commit is contained in:
parent
e6f616cd59
commit
5fecb6023a
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ void ShaderEmitter::recRSQ(const PICAShader& shader, u32 instruction) {
|
|||
}
|
||||
|
||||
void ShaderEmitter::recMAD(const PICAShader& shader, u32 instruction) {
|
||||
const bool isMADI = getBit<29>(instruction);
|
||||
const bool isMADI = getBit<29>(instruction) == 0;
|
||||
|
||||
const u32 operandDescriptor = shader.operandDescriptors[instruction & 0x1f];
|
||||
const u32 src1 = getBits<17, 5>(instruction);
|
||||
|
|
Loading…
Add table
Reference in a new issue