Search
lxdream.org :: lxdream :: r120:7e4549476110
lxdream 0.9.1
released Jun 29
Download Now
changeset120:7e4549476110
parent119:cef4d880123c
child121:795fec623ce9
authornkeynes
dateMon Mar 20 11:59:57 2006 +0000 (14 years ago)
Halt instead of exiting by default on a dcload_sycall to exit()
src/dcload.c
1.1 --- a/src/dcload.c Mon Mar 20 11:59:33 2006 +0000
1.2 +++ b/src/dcload.c Mon Mar 20 11:59:57 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dcload.c,v 1.2 2006-03-14 12:45:50 nkeynes Exp $
1.6 + * $Id: dcload.c,v 1.3 2006-03-20 11:59:57 nkeynes Exp $
1.7 *
1.8 * DC-load syscall implementation.
1.9 *
1.10 @@ -70,7 +70,8 @@
1.11 }
1.12 break;
1.13 case SYS_EXIT:
1.14 - exit( sh4r.r[4] );
1.15 + /* exit( sh4r.r[4] ); */
1.16 + dreamcast_stop();
1.17 default:
1.18 sh4r.r[0] = -1;
1.19 }
.