Fix typos

This commit is contained in:
wheremyfoodat 2022-12-11 03:12:20 +02:00
parent a58e8a3c97
commit 8f796352a6
2 changed files with 3 additions and 3 deletions

View file

@ -186,8 +186,8 @@ void PICAShader::max(u32 instruction) {
u32 componentMask = operandDescriptor & 0xf;
for (int i = 0; i < 4; i++) {
if (componentMask & (1 << i)) {
const auto mininum = srcVec1[3 - i] > srcVec2[3 - i] ? srcVec1[3 - i] : srcVec2[3 - i];
destVector[3 - i] = mininum;
const auto maximum = srcVec1[3 - i] > srcVec2[3 - i] ? srcVec1[3 - i] : srcVec2[3 - i];
destVector[3 - i] = maximum;
}
}
}

View file

@ -203,7 +203,7 @@ void Kernel::getProcessInfo() {
regs[0] = SVCResult::Success;
}
// Result GetThreadId(u32* threadId, Handle thread)
// Result DuplicateHandle(Handle* out, Handle original)
void Kernel::duplicateHandle() {
Handle original = regs[1];
logSVC("DuplicateHandle(handle = %X)\n", original);