summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/sh4/sh4comn.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-09-24 07:14:58 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-09-24 07:14:58 +0000
commitd8aa6627f5f9d114169332a6fcca853d207210d9 (patch)
tree6b0ae141d426822084471169e6ab1caa15224c8e /src/emu/cpu/sh4/sh4comn.c
parenta97ca90b366e1b0fef34a203f67569cf2ba93600 (diff)
> -----Original Message-----
> From: Atari Ace [mailto:atari_ace@verizon.net] > Sent: Sunday, September 20, 2009 9:54 AM > To: submit@mamedev.org > Cc: atariace@hotmail.com > Subject: [patch] Eliminate more #ifdef LSB_FIRST > > Hi mamedev, > > This patch recodes more cases where LSB_FIRST is used to conditionally > compile separate code for LSB and MSB targets. The atari.h chunk was > dead code (both in MAME and MESS) so I simply removed it. > > ~aa
Diffstat (limited to 'src/emu/cpu/sh4/sh4comn.c')
-rw-r--r--src/emu/cpu/sh4/sh4comn.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/emu/cpu/sh4/sh4comn.c b/src/emu/cpu/sh4/sh4comn.c
index 1554afd0592..83c434caee8 100644
--- a/src/emu/cpu/sh4/sh4comn.c
+++ b/src/emu/cpu/sh4/sh4comn.c
@@ -1299,11 +1299,7 @@ void sh4_dma_ddt(const device_config *device, struct sh4_ddt_dma *s)
len = s->length * 4;
p32bytes = (UINT64 *)(s->buffer);
for (pos = 0;pos < len;pos++) {
-#ifdef LSB_FIRST
*p32bytes = memory_read_qword_64le(sh4->program, s->source);
-#else
- *p32bytes = memory_read_qword_64be(sh4->program, s->source);
-#endif
p32bytes++;
s->destination = s->destination + 8;
}
@@ -1311,11 +1307,7 @@ void sh4_dma_ddt(const device_config *device, struct sh4_ddt_dma *s)
len = s->length * 4;
p32bytes = (UINT64 *)(s->buffer);
for (pos = 0;pos < len;pos++) {
-#ifdef LSB_FIRST
memory_write_qword_64le(sh4->program, s->destination, *p32bytes);
-#else
- memory_write_qword_64be(sh4->program, s->destination, *p32bytes);
-#endif
p32bytes++;
s->destination = s->destination + 8;
}