mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 15:45:40 +12:00
Merge pull request #65 from wheremyfoodat/wheremyfoodat-patch-1
Make PSI happy
This commit is contained in:
commit
a8bfeaf0a9
1 changed files with 4 additions and 4 deletions
|
@ -59,12 +59,12 @@ void Kernel::setupIdleThread() {
|
|||
t.fpscr = FPSCR::ThreadDefault;
|
||||
|
||||
// Our idle thread should have as low of a priority as possible, because, well, it's an idle thread.
|
||||
// We handle this by giving it a priority of 0xff, which is lower than is actually allowed for user threads
|
||||
// (High priority value = low priority)
|
||||
t.priority = 0xff;
|
||||
// We handle this by giving it a priority of 0x40, which is lower than is actually allowed for user threads
|
||||
// (High priority value = low priority). This is the same priority used in the retail kernel.
|
||||
t.priority = 0x40;
|
||||
t.status = ThreadStatus::Ready;
|
||||
|
||||
// Add idle thread to the list of thread indices
|
||||
threadIndices.push_back(idleThreadIndex);
|
||||
sortThreads();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue