filename | src/dcload.c |
changeset | 422:61a0598e07ff |
prev | 209:ff67a7b9aa17 |
next | 502:c4ecae2b1b5e |
author | nkeynes |
date | Wed Oct 24 21:23:22 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Fix long standing texcache management bug (invalidate palette was not placing the invalidated entries on the free list). |
file | annotate | diff | log | raw |
1.1 --- a/src/dcload.c Mon Aug 07 13:18:16 2006 +00001.2 +++ b/src/dcload.c Wed Oct 24 21:23:22 2007 +00001.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.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.24 @@ -75,7 +78,7 @@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:
.