Search
lxdream.org :: lxdream :: r183:5938ecc01dc8
lxdream 0.9.1
released Jun 29
Download Now
changeset183:5938ecc01dc8
parent182:e3b513538548
child184:a1f69295dda1
authornkeynes
dateThu Jul 06 22:44:39 2006 +0000 (17 years ago)
Use r5 for the exit value, not r4 (that was dumb...)
src/dcload.c
1.1 --- a/src/dcload.c Thu Jul 06 08:47:33 2006 +0000
1.2 +++ b/src/dcload.c Thu Jul 06 22:44:39 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dcload.c,v 1.4 2006-07-06 08:47:33 nkeynes Exp $
1.6 + * $Id: dcload.c,v 1.5 2006-07-06 22:44:39 nkeynes Exp $
1.7 *
1.8 * DC-load syscall implementation.
1.9 *
1.10 @@ -79,7 +79,7 @@
1.11 break;
1.12 case SYS_EXIT:
1.13 if( dcload_allow_exit )
1.14 - exit( sh4r.r[4] );
1.15 + exit( sh4r.r[5] );
1.16 else
1.17 dreamcast_stop();
1.18 default:
.