mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[FS] Cleanup, stub SDMC, start implementing SaveData
This commit is contained in:
parent
8cf55162d0
commit
b6a1da21a9
13 changed files with 135 additions and 15 deletions
|
@ -150,6 +150,7 @@ void Kernel::sleepThread(s64 ns) {
|
|||
if (ns < 0) {
|
||||
Helpers::panic("Sleeping a thread for a negative amount of ns");
|
||||
} else if (ns == 0) { // Used when we want to force a thread switch
|
||||
// TODO: Does sleep(0) always switch to another thread, or can it return to the same one if it's the highest prio one?
|
||||
threads[currentThreadIndex].status = ThreadStatus::Ready;
|
||||
switchToNextThread();
|
||||
} else { // If we're sleeping for > 0 ns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue