summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-13 14:10:13 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-13 14:10:13 -0400
commit4f2fddc86eca649d2b3f09d9dd031b074a60f540 (patch)
tree9f94a6fa19e53677e325667f7ecc2492f499ecf3
parent66aece0d824d5fbc708e8e89ae1f49a23acc51cb (diff)
tms32010: Fix endianness (nw)
-rw-r--r--src/devices/cpu/tms32010/tms32010.cpp2
-rw-r--r--src/devices/cpu/tms32010/tms32010.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/tms32010/tms32010.cpp b/src/devices/cpu/tms32010/tms32010.cpp
index 3476f7b6e4f..4ac26dd3185 100644
--- a/src/devices/cpu/tms32010/tms32010.cpp
+++ b/src/devices/cpu/tms32010/tms32010.cpp
@@ -836,7 +836,7 @@ void tms32010_device::device_start()
save_item(NAME(m_addr_mask));
m_program = &space(AS_PROGRAM);
- m_cache = m_program->cache<1, -1, ENDIANNESS_LITTLE>();
+ m_cache = m_program->cache<1, -1, ENDIANNESS_BIG>();
m_data = &space(AS_DATA);
m_io = &space(AS_IO);
diff --git a/src/devices/cpu/tms32010/tms32010.h b/src/devices/cpu/tms32010/tms32010.h
index 9185248dc27..0c1e705ada9 100644
--- a/src/devices/cpu/tms32010/tms32010.h
+++ b/src/devices/cpu/tms32010/tms32010.h
@@ -109,7 +109,7 @@ private:
int m_addr_mask;
address_space *m_program;
- memory_access_cache<1, -1, ENDIANNESS_LITTLE> *m_cache;
+ memory_access_cache<1, -1, ENDIANNESS_BIG> *m_cache;
address_space *m_data;
address_space *m_io;