better posix errors

This commit is contained in:
georgemoralis 2023-11-12 13:23:35 +02:00
parent e8c425850e
commit ae12f351f8
3 changed files with 231 additions and 12 deletions

View file

@ -654,7 +654,7 @@ static void run_main_entry(u64 addr, EntryParams* params, exit_func_t exit_func)
}
void Linker::Execute() {
Core::Libraries::LibKernel::Pthread_Init_Self_MainThread();
Core::Libraries::LibKernel::pthreadInitSelfMainThread();
EntryParams p{};
p.argc = 1;
p.argv[0] = "eboot.bin"; //hmm should be ok?