# HG changeset patch # User nkeynes # Date 1152225879 0 # Node ID 5938ecc01dc8d52f3206a2dbfe5579c3ca4c2d4f # Parent e3b513538548558e6373feb878627df2f5ecd755 Use r5 for the exit value, not r4 (that was dumb...) --- a/src/dcload.c Thu Jul 06 08:47:33 2006 +0000 +++ b/src/dcload.c Thu Jul 06 22:44:39 2006 +0000 @@ -1,5 +1,5 @@ /** - * $Id: dcload.c,v 1.4 2006-07-06 08:47:33 nkeynes Exp $ + * $Id: dcload.c,v 1.5 2006-07-06 22:44:39 nkeynes Exp $ * * DC-load syscall implementation. * @@ -79,7 +79,7 @@ break; case SYS_EXIT: if( dcload_allow_exit ) - exit( sh4r.r[4] ); + exit( sh4r.r[5] ); else dreamcast_stop(); default: