Fix Fedora build

This commit is contained in:
wheremyfoodat 2023-02-18 00:57:42 +02:00
parent c73ebdcf77
commit 1019f65824
4 changed files with 6 additions and 3 deletions

View file

@ -323,7 +323,7 @@ void PICAShader::rsq(u32 instruction) {
vec4f srcVec1 = getSourceSwizzled<1>(src1, operandDescriptor);
vec4f& destVector = getDest(dest);
f24 res = f24::fromFloat32(1.0f / std::sqrtf(srcVec1[0].toFloat32()));
f24 res = f24::fromFloat32(1.0f / std::sqrt(srcVec1[0].toFloat32()));
u32 componentMask = operandDescriptor & 0xf;
for (int i = 0; i < 4; i++) {

View file

@ -1,3 +1,4 @@
#include <cstring>
#include <optional>
#include "loader/ncsd.hpp"
#include "memory.hpp"