Stratosphere: Skeleton create process up through the ProcessCreation::CreateProcess() call

This commit is contained in:
Michael Scire 2018-04-21 19:52:49 -06:00
parent 878d68f7e0
commit 6a51ce25b3
8 changed files with 75 additions and 5 deletions

View file

@ -71,3 +71,12 @@ void LaunchQueue::clear() {
g_launch_queue[i].tid = 0;
}
}
LaunchQueue::LaunchItem *LaunchQueue::get_item(u64 tid) {
int idx;
if ((idx = get_index(tid)) == LAUNCH_QUEUE_FULL) {
return NULL;
}
return &g_launch_queue[idx];
}