mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-08 07:05:40 +12:00
Fix typos
This commit is contained in:
parent
a58e8a3c97
commit
8f796352a6
2 changed files with 3 additions and 3 deletions
|
@ -186,8 +186,8 @@ void PICAShader::max(u32 instruction) {
|
||||||
u32 componentMask = operandDescriptor & 0xf;
|
u32 componentMask = operandDescriptor & 0xf;
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
if (componentMask & (1 << i)) {
|
if (componentMask & (1 << i)) {
|
||||||
const auto mininum = srcVec1[3 - i] > srcVec2[3 - i] ? srcVec1[3 - i] : srcVec2[3 - i];
|
const auto maximum = srcVec1[3 - i] > srcVec2[3 - i] ? srcVec1[3 - i] : srcVec2[3 - i];
|
||||||
destVector[3 - i] = mininum;
|
destVector[3 - i] = maximum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -203,7 +203,7 @@ void Kernel::getProcessInfo() {
|
||||||
regs[0] = SVCResult::Success;
|
regs[0] = SVCResult::Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Result GetThreadId(u32* threadId, Handle thread)
|
// Result DuplicateHandle(Handle* out, Handle original)
|
||||||
void Kernel::duplicateHandle() {
|
void Kernel::duplicateHandle() {
|
||||||
Handle original = regs[1];
|
Handle original = regs[1];
|
||||||
logSVC("DuplicateHandle(handle = %X)\n", original);
|
logSVC("DuplicateHandle(handle = %X)\n", original);
|
||||||
|
|
Loading…
Add table
Reference in a new issue