Starpatch compile problem

Discussion in 'Wii - Hacking' started by PhyniX, Nov 4, 2009.

Nov 4, 2009

Starpatch compile problem by PhyniX at 9:08 PM (1,355 Views / 0 Likes) 4 replies

  1. PhyniX
    OP

    Newcomer PhyniX Advanced Member

    Joined:
    Mar 29, 2009
    Messages:
    79
    Country:
    Germany
    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);
     
  2. SifJar

    Member SifJar Not a pirate

    Joined:
    Apr 4, 2009
    Messages:
    6,022
    Country:
    United Kingdom
    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.
     
  3. PhyniX
    OP

    Newcomer PhyniX Advanced Member

    Joined:
    Mar 29, 2009
    Messages:
    79
    Country:
    Germany
    Thanks the idea wars good
    I have change it

    fstats *fs = fs;
     
  4. SifJar

    Member SifJar Not a pirate

    Joined:
    Apr 4, 2009
    Messages:
    6,022
    Country:
    United Kingdom
    Glad I helped. May I ask what modifications you have made to StartPatch? are you going to be releasing your version soon?
     
  5. Thomas83Lin

    Member Thomas83Lin Retro Gamer

    Joined:
    Jul 22, 2009
    Messages:
    1,485
    Country:
    United States

Share This Page