From 4d826fb44c4a21c0b3bbe50f418f551ea850f726 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sat, 21 Sep 2019 00:31:47 +0200 Subject: [PATCH] Fixed #515: If AGA Chipset was enabled, some screens showed corrupted graphics --- src/custom.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/custom.cpp b/src/custom.cpp index fb280508..ee6710dd 100644 --- a/src/custom.cpp +++ b/src/custom.cpp @@ -2216,15 +2216,8 @@ STATIC_INLINE void long_fetch_16 (int plane, int nwords, int weird_number_of_bit shiftbuffer <<= 16; nwords--; if (dma) { -#ifdef ARMV6_ASSEMBLY - __asm__( - "ldrh %[val], [%[pt]], #2 \n\t" - "rev16 %[val], %[val] \n\t" - : [val] "=r" (fetchval), [pt] "+r" (real_pt)); -#else fetchval = do_get_mem_word(real_pt); real_pt++; -#endif } } fetched[plane] = fetchval; @@ -2287,14 +2280,7 @@ STATIC_INLINE void long_fetch_32 (int plane, int nwords, int weird_number_of_bit } nwords -= 2; if (dma) { -#ifdef ARMV6_ASSEMBLY - __asm__( - "ldr %[val], [%[pt]], #4 \n\t" - "rev %[val], %[val] \n\t" - : [val] "=r" (fetchval), [pt] "+r" (real_pt)); -#else fetchval = do_get_mem_long (real_pt); -#endif if (unaligned) { fetchval &= 0x0000ffff; fetchval |= fetchval << 16;