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?
| |
|
93Likes
-
09-21-2012,02:09 AM

Originally Posted by
ElPatas
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);
}
}
-
09-21-2012,10:36 AM
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.
-
09-21-2012,04:38 PM

Originally Posted by
mgh
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.
-
09-21-2012,06:46 PM
What error...I've been using this since the Exit was changed
-
09-21-2012,09:20 PM
When is building the EE Core the window terminal closes so fast in a second, i can't see
anything more after that.
Regards.
-
09-22-2012,03:48 AM
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)
-
09-22-2012,06:02 AM
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.
-
09-22-2012,06:49 AM
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
-
09-22-2012,06:58 AM
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
-
09-22-2012,07:15 AM

Originally Posted by
mgh
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.
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|