Search
lxdream.org :: lxdream/src/sh4/sh4core.in :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.in
changeset 369:4b4223e7d720
prev367:9c52dcbad3fb
next374:8f80a795513e
author nkeynes
date Sat Sep 08 04:05:35 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Handle video driver init failure cleanly (fallback to headless)
Hookup shutdown for the GTK driver
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.in Tue Sep 04 08:38:33 2007 +0000
1.2 +++ b/src/sh4/sh4core.in Sat Sep 08 04:05:35 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: sh4core.in,v 1.2 2007-09-04 08:38:33 nkeynes Exp $
1.6 + * $Id: sh4core.in,v 1.3 2007-09-08 03:12:21 nkeynes Exp $
1.7 *
1.8 * SH4 emulation core, and parent module for all the SH4 peripheral
1.9 * modules.
1.10 @@ -546,12 +546,7 @@
1.11 PREF @Rn {:
1.12 tmp = sh4r.r[Rn];
1.13 if( (tmp & 0xFC000000) == 0xE0000000 ) {
1.14 - /* Store queue operation */
1.15 - int queue = (tmp&0x20)>>2;
1.16 - int32_t *src = &sh4r.store_queue[queue];
1.17 - uint32_t hi = (MMIO_READ( MMU, (queue == 0 ? QACR0 : QACR1) ) & 0x1C) << 24;
1.18 - uint32_t target = tmp&0x03FFFFE0 | hi;
1.19 - mem_copy_to_sh4( target, src, 32 );
1.20 + sh4_flush_store_queue(tmp);
1.21 }
1.22 :}
1.23 OCBI @Rn {: :}
.