Fix more clangd errors

This also seems to fix the problem where clangd failed to index most header files, which was due to the typo in JGeometry.h.
This commit is contained in:
LagoLunatic
2024-11-22 19:04:56 -05:00
parent 12c83739e9
commit c46adebdb9
8 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ JKRThread::JKRThread(u32 stack_size, int message_count, int param_3) : mThreadLi
mThreadRecord = (OSThread*)JKRAllocFromHeap(mHeap, sizeof(OSThread), 0x20);
void* stackBase = (void*)((int)mStackMemory + mStackSize);
OSCreateThread(mThreadRecord, start, this, stackBase, mStackSize, param_3, 1);
OSCreateThread(mThreadRecord, (void*)start, this, stackBase, mStackSize, param_3, 1);
mMessageCount = message_count;
mMessages = (OSMessage*)JKRAllocFromHeap(mHeap, mMessageCount * sizeof(OSMessage), 0);
@@ -135,4 +135,4 @@ void JKRThreadSwitch::callback(OSThread* current, OSThread* next) {
static void dummy() {
OSReport("Cannot create JKRTask Manager.");
OSReport("sManager != 0");
}
}