wololo wrote:oops, just realized now you were the same person. Sad, I thought we had a "trend"...
Yes, the fact that it works once, then not a second time, is an interesting thing. I don't know how much it helps us, but it tends to say we are changing the state of the system somehow..
Although, I am not sure anymore why 2 loops are needed... haven't looked at the code in a while
Looking at hbl code in loader.c
it goes like this:
p5_get_stubs:
p5_copy_stubs_savedata
Copy stubs for the savedata dialog with autoload mode
this works fine.
p5_copy_stubs_savedata_dialog
Copy stubs for the savedata dialog with save mode
this doesn't work
So i got this idea of commenting out the second loop, and now i got into "Wagic:Loading Resources"

, but not further
Gonna try some menu's to see what it does
edit: menu from monster hunter vhbl ends up with the update_thread exception mentioned before, and lots of
sceIoDopen_Vita start
sceIoDopen_Vita Done
sceIoDread_Vita start
sceIoDread_Vita Done
then blackscreen
tried wmenu 0.1 from hbl rev 91, loaded up fine and now showing folders/files too!
previously when i had wmenu 0.2 running it never showed and files/folders
so i assume the first loop got the Dread and Dopen function
when trying to run homebrew, results in bus error
Code: Select all
File is [ms0:/PSP/GAME/gpSP/EBOOT.PBP]
-->ALLOCATING MEMORY from partition 2, size 0x00000027... Found free block 1
Got block from kernel with UID 0x04816979
sceIoOpen override: menu.cache become ms0:/PSP/SAVEDATA/censored/menu.cache
_hook_sceKernelExitGame called
Threads cleanup
cleaning audio threads
Exception - Bus error (instr)
Thread ID - 0x04818E61
Th Name - user_main
EPC - 0x0812D848
Cause - 0x10000018
BadVAddr - 0x00000000
Status - 0x00088613
zr:0x00000000 at:0x00000001 v0:0x00000000 v1:0x00000001
a0:0x00000000 a1:0xDEADBEEF a2:0xDEADBEEF a3:0xDEADBEEF
t0:0xDEADBEEF t1:0xDEADBEEF t2:0xDEADBEEF t3:0xDEADBEEF
t4:0x882F8700 t5:0x00088613 t6:0x00004000 t7:0x0812D848
s0:0x00000001 s1:0x00010200 s2:0x00000000 s3:0x04818E61
s4:0x00000000 s5:0x08910000 s6:0x09FFD4BC s7:0x08910000
t8:0xDEADBEEF t9:0xDEADBEEF k0:0x09FFDF00 k1:0x00000000
gp:0x08914810 sp:0x09FFD360 fp:0x08910000 ra:0x09F75770
This might be related, I think I got same error when trying to exit the menu, or when trying to exit the hbl test homebrew
But atleast some progress, I guess
edit2: @ the stuck loop part, i noticed the parameter p5_open_savedata(PSP_UTILITY_SAVEDATA_
SAVE) <-
this game only has autosave/autoload(might be not related at all, just a wild guess,im a noob

), and via google i found out that there also exists PSP_UTILITY_SAVEDATA_AUTOSAVE
but if i put in that, it crashes right after at
and with regular p5_open_savedata(PSP_UTILITY_SAVEDATA_
SAVE), is the p5_close_savedata part important ? wouldnt it work without it ? because it gets the stubs, so only the closing is really a problem