I decided to try porting hbl once again, it works fine on psp, starts wmenu and homebrew, but i'm getting exception when the menu starts and when homebrew starts
Code: Select all
API returned 048CB56B
Set array
Pending threads: 1
Enter hookRunThread: 048CB56B
Number of pending threads: 00000001
Pending threads: 0
Number of running threads: 00000002
Running threads: 3
Exit hookRunThread: 048CB56B
Enter createcallback: Exit Callback
Exit createcallback: Exit Callback ID: 048C5327
Enter registerexitCB: 048C5327
Found matching CB, func: 0890AACC
Exit registerexitCB: 048C5327
Enter createcallback: Power Callback
Exit createcallback: Power Callback ID: 048F3F49
Exception - Bus error (instr)
Thread ID - 0x048CB56B
Th Name - update_thread
EPC - 0x080316F0
Cause - 0x10000018
BadVAddr - 0x00000000
Status - 0x00088613
zr:0x00000000 at:0x00000001 v0:0x00000000 v1:0x00000001
a0:0xDEADBEEF a1:0xDEADBEEF a2:0xDEADBEEF a3:0xDEADBEEF
t0:0xDEADBEEF t1:0xDEADBEEF t2:0xDEADBEEF t3:0xDEADBEEF
t4:0x882F7500 t5:0x00088613 t6:0x00004000 t7:0x080316F0
s0:0x048CB56B s1:0xDEADBEEF s2:0xDEADBEEF s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0xDEADBEEF t9:0xDEADBEEF k0:0x09FBDF00 k1:0x00000000
gp:0x08A07750 sp:0x09FBDEB8 fp:0x09FBDEC0 ra:0x0890AD80
Call to sceKernelMaxFreeMemSize()
call to sceKernelAllocPartitionMemory partitionId: 2, name: block, type:0, size:
20076800, addr:0x00000000
-> final allocation made for 20076800 of 20076800 requested bytes with result 0x
048DC53D
Num tracked OS blocks now: 00000002
API returned 048F0D65
Set array
Pending threads: 1
Enter hookRunThread: 048F0D65
Number of pending threads: 00000001
Pending threads: 0
Number of running threads: 00000003
Running threads: 4
Exit hookRunThread: 048F0D65
I think thats why i can't get it work on vita, but i wasnt able to find this "'update_thread" anywhere in hbl source so im stuck at the moment
It isnt game's thread,isn't wmenu thread, it is hbl's thread 100%, because i get it even when using no menu just straight homebrew ( Doom )
update: i commented out #define DONT_HOOK_IF_FUNCTION_IS_IMPORTED, the crash is gone, it still does not work on vita, i have no idea why
update2:nevermind, seems to work now
some compatibility :
Code: Select all
Doom - works
picodrive - works
lamecraft - works ?
s4inexcraft - crashes
GDP - blackscreen
Daedalus R13- works
Daedalus X64 - blackscreen
psp filer - select language then crash/blackscreen
psp lorer - kind of works, crashes on some operations
gpSP - works but crashes if you press /_\
snes9xTYL - starts but crashes/stucks when loading rom
uo_SNES9x - works
Adhoc File Transfer - works
I noticed little problem, if I for example try to create new folder using psp lorer, bringing up keyboard only gives black/grey screen, how could i fix this? Are there any OSK hooks ? I tried #define HOOK_Osk but it didnt change anything