Search
lxdream.org :: lxdream/src/dcload.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dcload.c
changeset 422:61a0598e07ff
prev209:ff67a7b9aa17
next502:c4ecae2b1b5e
author nkeynes
date Sat Oct 06 09:03:24 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/dcload.c Mon Aug 07 13:18:16 2006 +0000
1.2 +++ b/src/dcload.c Sat Oct 06 09:03:24 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dcload.c,v 1.6 2006-08-07 13:18:16 nkeynes Exp $
1.6 + * $Id: dcload.c,v 1.7 2007-10-06 08:59:42 nkeynes Exp $
1.7 *
1.8 * DC-load syscall implementation.
1.9 *
1.10 @@ -17,9 +17,12 @@
1.11 */
1.12
1.13 #include <stdio.h>
1.14 +#include <unistd.h>
1.15 +#include <fcntl.h>
1.16 +
1.17 #include "dream.h"
1.18 +#include "mem.h"
1.19 #include "dreamcast.h"
1.20 -#include "mem.h"
1.21 #include "syscall.h"
1.22 #include "sh4/sh4core.h"
1.23
1.24 @@ -75,7 +78,7 @@
1.25
1.26 void dcload_syscall( uint32_t syscall_id )
1.27 {
1.28 - uint32_t syscall = sh4r.r[4];
1.29 + // uint32_t syscall = sh4r.r[4];
1.30 int fd;
1.31 switch( sh4r.r[4] ) {
1.32 case SYS_READ:
.