early-access version 1972

This commit is contained in:
pineappleEA
2021-08-07 12:04:30 +02:00
parent 03ad7255d8
commit 957c2233d1
28 changed files with 229 additions and 139 deletions

View File

@@ -59,6 +59,7 @@ void SetupMainThread(Core::System& system, KProcess& owner_process, u32 priority
thread->GetContext64().cpu_registers[0] = 0;
thread->GetContext32().cpu_registers[1] = thread_handle;
thread->GetContext64().cpu_registers[1] = thread_handle;
thread->DisableDispatch();
auto& kernel = system.Kernel();
// Threads by default are dormant, wake up the main thread so it runs when the scheduler fires