Search
lxdream.org :: lxdream :: r371:f2fe152cfc9b
lxdream 0.9.1
released Jun 29
Download Now
changeset371:f2fe152cfc9b
parent370:3131ba1440fc
child372:86aa060ddcec
authornkeynes
dateSat Sep 08 04:38:11 2007 +0000 (12 years ago)
Fix warning
src/sh4/sh4mem.c
1.1 --- a/src/sh4/sh4mem.c Sat Sep 08 04:05:35 2007 +0000
1.2 +++ b/src/sh4/sh4mem.c Sat Sep 08 04:38:11 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4mem.c,v 1.21 2007-09-08 03:11:53 nkeynes Exp $
1.6 + * $Id: sh4mem.c,v 1.22 2007-09-08 04:38:11 nkeynes Exp $
1.7 * sh4mem.c is responsible for the SH4's access to memory (including memory
1.8 * mapped I/O), using the page maps created in mem.c
1.9 *
1.10 @@ -394,7 +394,7 @@
1.11 {
1.12 /* Store queue operation */
1.13 int queue = (addr&0x20)>>2;
1.14 - int32_t *src = &sh4r.store_queue[queue];
1.15 + char *src = (char *)&sh4r.store_queue[queue];
1.16 uint32_t hi = (MMIO_READ( MMU, (queue == 0 ? QACR0 : QACR1) ) & 0x1C) << 24;
1.17 uint32_t target = addr&0x03FFFFE0 | hi;
1.18 mem_copy_to_sh4( target, src, 32 );
.