Search
lxdream.org :: lxdream/src/sh4/sh4mmio.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4mmio.c
changeset 428:338966c8aed0
prev413:bff683bc5228
next502:c4ecae2b1b5e
author nkeynes
date Sun Oct 07 06:27:12 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix compilation warnings
file annotate diff log raw
1.1 --- a/src/sh4/sh4mmio.c Tue Oct 02 08:48:27 2007 +0000
1.2 +++ b/src/sh4/sh4mmio.c Sun Oct 07 06:27:12 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4mmio.c,v 1.13 2007-10-02 08:48:27 nkeynes Exp $
1.6 + * $Id: sh4mmio.c,v 1.14 2007-10-07 06:27:12 nkeynes Exp $
1.7 *
1.8 * Miscellaneous and not-really-implemented SH4 peripheral modules. Also
1.9 * responsible for including the IMPL side of the SH4 MMIO pages.
1.10 @@ -20,12 +20,13 @@
1.11 #define MODULE sh4_module
1.12
1.13 #include "dream.h"
1.14 +#include "dreamcast.h"
1.15 #include "mem.h"
1.16 #include "clock.h"
1.17 -#include "sh4core.h"
1.18 -#include "sh4mmio.h"
1.19 +#include "sh4/sh4core.h"
1.20 +#include "sh4/sh4mmio.h"
1.21 #define MMIO_IMPL
1.22 -#include "sh4mmio.h"
1.23 +#include "sh4/sh4mmio.h"
1.24
1.25 /********************************* MMU *************************************/
1.26
1.27 @@ -149,7 +150,6 @@
1.28 int32_t mmio_region_BSC_read( uint32_t reg )
1.29 {
1.30 int32_t val;
1.31 - int i;
1.32 switch( reg ) {
1.33 case PDTRA:
1.34 val = bsc_read_pdtra();
.