summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/v30mz
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/v30mz
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/v30mz')
-rw-r--r--src/emu/cpu/v30mz/v30mz.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/cpu/v30mz/v30mz.c b/src/emu/cpu/v30mz/v30mz.c
index 2652ff328fd..88819d37a42 100644
--- a/src/emu/cpu/v30mz/v30mz.c
+++ b/src/emu/cpu/v30mz/v30mz.c
@@ -1051,7 +1051,7 @@ CPU_GET_INFO( v30mz )
case CPUINFO_INT_CONTEXT_SIZE: info->i = sizeof(v30mz_state); break;
case CPUINFO_INT_INPUT_LINES: info->i = 1; break;
case CPUINFO_INT_DEFAULT_IRQ_VECTOR: info->i = 0xff; 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 = 1; break;
@@ -1103,10 +1103,10 @@ CPU_GET_INFO( v30mz )
case CPUINFO_PTR_INSTRUCTION_COUNTER: info->icount = &cpustate->icount; break;
/* --- the following bits of info are returned as NULL-terminated strings --- */
- case CPUINFO_STR_CORE_FAMILY: strcpy(info->s, "NEC V-Series"); break;
- case CPUINFO_STR_CORE_VERSION: strcpy(info->s, "1.5"); break;
- case CPUINFO_STR_CORE_FILE: strcpy(info->s, __FILE__); break;
- case CPUINFO_STR_CORE_CREDITS: strcpy(info->s, "NEC emulator v1.5 by Bryan McPhail"); break;
+ case DEVINFO_STR_FAMILY: strcpy(info->s, "NEC V-Series"); break;
+ case DEVINFO_STR_VERSION: strcpy(info->s, "1.5"); break;
+ case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
+ case DEVINFO_STR_CREDITS: strcpy(info->s, "NEC emulator v1.5 by Bryan McPhail"); break;
case CPUINFO_STR_FLAGS:
flags = CompressFlags();
@@ -1153,7 +1153,7 @@ CPU_GET_INFO( v30mz )
break;
/* --- the following bits of info are returned as NULL-terminated strings --- */
- case CPUINFO_STR_NAME: strcpy(info->s, "V30MZ");
+ case DEVINFO_STR_NAME: strcpy(info->s, "V30MZ");
break;
}
}