Hacking Starpatch compile problem

PhyniX

Well-Known Member
OP
Member
Joined
Mar 29, 2009
Messages
100
Trophies
0
XP
241
Country
Gambia, The
hello
i want compile the tool Stapatch 4.2.4
this is the error:

main.c
c:/devkitPro/examples/PAL453/source/main.c: In function 'load_menu':
c:/devkitPro/examples/PAL453/source/main.c:57: warning: 'fs' is used uninitialized in this function
linking ... PAL453.elf
output ... PAL453.dol

i can't start this tool
i have follow error ISFS Get FileStats Error -101

source code:
fstats *fs;
ret = ISFS_GetFileStats(fd,fs);
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
I believe the problem is you need to allocate memory to fs before calling ISFS_GetFileStats. I dunno what that means or how to do it, but thats what WiiPower said on the wiibrew forums when someone else had this same problem.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: