mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 10:48:02 -05:00
- added __KernelLoadExec function
- fixed some logging
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
|
||||
#include "common/common.h"
|
||||
|
||||
#include "core/core.h"
|
||||
#include "core/hle/kernel/kernel.h"
|
||||
#include "core/hle/kernel/thread.h"
|
||||
|
||||
@ -140,3 +141,13 @@ KernelObject *KernelObjectPool::CreateByIDType(int type) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
bool __KernelLoadExec(u32 entry_point) {
|
||||
__KernelInit();
|
||||
|
||||
Core::g_app_core->SetPC(entry_point);
|
||||
|
||||
UID thread_id = __KernelSetupRootThread(0xDEADBEEF, 0, 0x31);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user