summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/dsp32/dsp32.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-07-08 16:20:01 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-07-08 16:20:01 +0000
commit2577a0b22d7b5d43ea7078e5ff9cfd0ae47a3a69 (patch)
tree382637c4868771c0793965aaa3261d450db8e0a5 /src/emu/cpu/dsp32/dsp32.c
parent7b28233e47541c9c5bf075ff0e4af86f973a1917 (diff)
Another step. Moved the address-space related get_info constants
to devintrf (including endianness). Removed space array from the CPU class header. Made the memory system much more device-neutral. Various other cleanups along the way.
Diffstat (limited to 'src/emu/cpu/dsp32/dsp32.c')
-rw-r--r--src/emu/cpu/dsp32/dsp32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/cpu/dsp32/dsp32.c b/src/emu/cpu/dsp32/dsp32.c
index 26ba3cfb867..1fc853fa52d 100644
--- a/src/emu/cpu/dsp32/dsp32.c
+++ b/src/emu/cpu/dsp32/dsp32.c
@@ -742,7 +742,7 @@ CPU_GET_INFO( dsp32c )
case CPUINFO_INT_CONTEXT_SIZE: info->i = sizeof(dsp32_state); break;
case CPUINFO_INT_INPUT_LINES: info->i = 2; break;
case CPUINFO_INT_DEFAULT_IRQ_VECTOR: info->i = 0; break;
- case CPUINFO_INT_ENDIANNESS: info->i = ENDIANNESS_LITTLE; break;
+ case DEVINFO_INT_ENDIANNESS: info->i = ENDIANNESS_LITTLE; break;
case CPUINFO_INT_CLOCK_MULTIPLIER: info->i = 1; break;
case CPUINFO_INT_CLOCK_DIVIDER: info->i = 1; break;
case CPUINFO_INT_MIN_INSTRUCTION_BYTES: info->i = 4; break;
@@ -831,11 +831,11 @@ CPU_GET_INFO( dsp32c )
case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &cpustate->icount; break;
/* --- the following bits of info are returned as NULL-terminated strings --- */
- case CPUINFO_STR_NAME: strcpy(info->s, "DSP32C"); break;
- case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "Lucent DSP32"); break;
- case CPUINFO_STR_CORE_VERSION: strcpy(info->s, "1.0"); break;
- case CPUINFO_STR_CORE_FILE: strcpy(info->s, __FILE__); break;
- case CPUINFO_STR_CORE_CREDITS: strcpy(info->s, "Aaron Giles"); break;
+ case DEVINFO_STR_NAME: strcpy(info->s, "DSP32C"); break;
+ case DEVINFO_STR_FAMILY: strcpy(info->s, "Lucent DSP32"); break;
+ case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break;
+ case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
+ case DEVINFO_STR_CREDITS: strcpy(info->s, "Aaron Giles"); break;
case CPUINFO_STR_FLAGS:
sprintf(info->s, "%c%c%c%c%c%c%c%c",