]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
68030 data cache write allocation check fix.
authorToni Wilen <twilen@winuae.net>
Wed, 22 Jun 2016 09:45:45 +0000 (12:45 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 22 Jun 2016 09:45:45 +0000 (12:45 +0300)
newcpu.cpp

index c017c445105fa3c5ccdffdce7f50286177dc4162..412909111e02b292b058e6e558bb675503e83dbf 100644 (file)
@@ -7504,7 +7504,7 @@ static void write_dcache030x(uaecptr addr, uae_u32 val, int size)
        c1 = getcache030(dcaches030, addr, &tag1, &lws1);
 
        // easy one
-       if (size == 2 && aligned == 0 && wa == 1) {
+       if (size == 2 && aligned == 0 && wa) {
                update_cache030(c1, val, tag1, lws1);
                return;
        }