Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Like Tree93Likes

Thread: Open PS2 Loader Project - v0.9
  

Page 474 of 490 FirstFirst ... 374 424 464 472 473 474 475 476 484 ... LastLast
Results 4,731 to 4,740 of 4892
  1. #4731  
    mgh
    mgh is offline Member
    Join Date
    Jul 2011
    Posts
    234
    Downloads
    0
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    17
    Quote Originally Posted by ElPatas View Post
    mgh, please which are exactly the changes needed in the source for use the igr exit like 0.8 does?
    I like it more than use the apps menu in 0.9 for a direct exit to uLE.

    Regards.
    In src\system.c search for void sysExecExit() { (line 422)
    Once you find it,add
    else {
    shutdown();
    sysExecElf(gExitPath, 0, NULL);
    }
    }
    at the end of the function
    void sysExecExit() {
    if(gExitPath[0] == '\0') {
    __asm__ __volatile__(
    " li $3, 0x04;"
    " syscall;"
    " nop;"
    );
    } else {
    shutdown();
    sysExecElf(gExitPath, 0, NULL);
    }
    }
    Reply With Quote  

  2. #4732  
    star2root's Avatar
    star2root is offline Member
    Join Date
    Sep 2012
    Location
    Miami, Florida
    Posts
    31
    Downloads
    2
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    1
    Likes Received
    4
    Why not just make an entry called "Exit to ___" in the apps menu to run whatever? The end result would be the same, with a lot less coding. Not sure why you would like modifying the source code better.
    Reply With Quote  

  3. #4733  
    ElPatas's Avatar
    ElPatas is offline Member
    Join Date
    Mar 2009
    Location
    Spain
    Posts
    154
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    67
    Likes Received
    18
    Quote Originally Posted by mgh View Post
    In src\system.c search for void sysExecExit() { (line 422)
    Once you find it,add

    void sysExecExit() {
    if(gExitPath[0] == '\0') {
    __asm__ __volatile__(
    " li $3, 0x04;"
    " syscall;"
    " nop;"
    );
    } else {
    shutdown();
    sysExecElf(gExitPath, 0, NULL);
    }
    }


    at the end of the function
    I tried it, but it gives an error and fails to compile.

    Regards.
    Reply With Quote  

  4. #4734  
    mgh
    mgh is offline Member
    Join Date
    Jul 2011
    Posts
    234
    Downloads
    0
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    17
    What error...I've been using this since the Exit was changed
    Reply With Quote  

  5. #4735  
    ElPatas's Avatar
    ElPatas is offline Member
    Join Date
    Mar 2009
    Location
    Spain
    Posts
    154
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    67
    Likes Received
    18
    When is building the EE Core the window terminal closes so fast in a second, i can't see
    anything more after that.

    Regards.
    Reply With Quote  

  6. #4736  
    mgh
    mgh is offline Member
    Join Date
    Jul 2011
    Posts
    234
    Downloads
    0
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    17
    Hmm I don't know...either it's your ps2sdk or you didn't correctly made the change.
    No problems here(I'm compiling OPL under Windows)
    Reply With Quote  

  7. #4737  
    ElPatas's Avatar
    ElPatas is offline Member
    Join Date
    Mar 2009
    Location
    Spain
    Posts
    154
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    67
    Likes Received
    18
    I compile it under windows with the virtual machine.
    When i compile it without the change it compiles perfectly, but if i add this change it closes the terminal
    at the point mentioned.
    Are you sure you not made any typo error when your wrote the code?

    Regards.
    Reply With Quote  

  8. #4738  
    mgh
    mgh is offline Member
    Join Date
    Jul 2011
    Posts
    234
    Downloads
    0
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    17
    No...here,bigger part to see exactly how the sysExecExit() function looks like.

    void sysGetCDVDFSV(void **data_irx, int *size_irx)
    {
    *data_irx = (void *)&cdvdfsv_irx;
    *size_irx = size_cdvdfsv_irx;
    }

    void sysExecExit() {
    if(gExitPath[0] == '\0') {
    __asm__ __volatile__(
    " li $3, 0x04;"
    " syscall;"
    " nop;"
    );
    } else {
    shutdown();
    sysExecElf(gExitPath, 0, NULL);
    }
    }

    static void restoreSyscallHandler(void)
    Are you using clean source or you have some modification?
    Did you tried make rebuild command

    PS.I don't use virtual machine
    Reply With Quote  

  9. #4739  
    RandQalan's Avatar
    RandQalan is offline Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,657
    Downloads
    17
    Uploads
    37
    Mentioned
    18 Post(s)
    Tagged
    4 Thread(s)
    Likes Given
    741
    Likes Received
    415
    Why not use code box on advance settings mgh

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  10. #4740  
    ElPatas's Avatar
    ElPatas is offline Member
    Join Date
    Mar 2009
    Location
    Spain
    Posts
    154
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    67
    Likes Received
    18
    Quote Originally Posted by mgh View Post
    No...here,bigger part to see exactly how the sysExecExit() function looks like.

    void sysExecExit() {
    if(gExitPath[0] == '\0') {
    __asm__ __volatile__(
    " li $3, 0x04;"
    " syscall;"
    " nop;"
    );
    } else {
    shutdown();
    sysExecElf(gExitPath, 0, NULL);
    }
    }


    Are you using clean source or you have some modification?
    Did you tried make rebuild command

    PS.I don't use virtual machine
    I have clear source i downloaded it from the source repository, and i use always the make rebuild command.

    But wait a second i see now there is one line which is not in the original code and you not said to add:

    if(gExitPath[0] == '\0') {

    Is needed add this line also?

    Regards.
    Reply With Quote  

Page 474 of 490 FirstFirst ... 374 424 464 472 473 474 475 476 484 ... LastLast
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •