VERY experimental Nintendo Switch 2 emulator
C++
shader_decode: Fixup XMAD
ReinUsesLisp53c06f089dd9
diff --git a/src/video_core/shader/decode/xmad.cpp b/src/video_core/shader/decode/xmad.cppindex 3ceabecb53..9f2d636b8b 100644--- a/src/video_core/shader/decode/xmad.cpp+++ b/src/video_core/shader/decode/xmad.cpp@@ -55,7 +55,7 @@ u32 ShaderIR::DecodeXmad(BasicBlock& bb, const BasicBlock& code, u32 pc) {// TODO(Rodrigo): Use an appropiate sign for this operationNode product = Operation(OperationCode::IMul, NO_PRECISE, op_a, op_b);if (instr.xmad.product_shift_left) {- product = Operation(OperationCode::ILogicalShiftLeft, NO_PRECISE, op_a, Immediate(16));+ product = Operation(OperationCode::ILogicalShiftLeft, NO_PRECISE, product, Immediate(16));}op_c = [&]() {