From b51dc4fff4866fa6fe41464da2676860d7c36f23 Mon Sep 17 00:00:00 2001 From: joel16 Date: Sun, 24 Sep 2023 16:43:54 -0400 Subject: [PATCH] kernel: Cleanup imports and fix QA flag --- plugin/kernel/imports.S | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/plugin/kernel/imports.S b/plugin/kernel/imports.S index 07980e9..c437cfb 100644 --- a/plugin/kernel/imports.S +++ b/plugin/kernel/imports.S @@ -1,12 +1,10 @@ .set noreorder -#include "pspstub.s" - - STUB_START "SystemCtrlForKernel",0x00090000,0x00010005 - STUB_FUNC 0x159AF5CC,sctrlHENFindFunction - STUB_END +#include "pspimport.s" - STUB_START "sceChkreg_driver",0x00090000,0x00010005 - STUB_FUNC 0x59F8491D,sceChkregGetPsCode - STUB_FUNC 0x6894A027,sceChkregGetPsFlags - STUB_END + IMPORT_START "SystemCtrlForKernel",0x00090011 + IMPORT_FUNC "SystemCtrlForKernel",0x159AF5CC,sctrlHENFindFunction + + IMPORT_START "sceChkreg_driver",0x00090011 + IMPORT_FUNC "sceChkreg_driver",0x59F8491D,sceChkregGetPsCode + IMPORT_FUNC "sceChkreg_driver",0x6894A027,sceChkregGetPsFlags