summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2011-10-04 09:58:07 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2011-10-04 09:58:07 +0000
commit6730bf8cc77123a52c12cb05f8b6c23730438fc7 (patch)
tree7d0b55907810110677c474bc5e33616ef5efe61e /src/emu/devcpu.c
parent9247583a1d71282540e24dbcefb1cb91aec2626d (diff)
Added a way to handle output for debug messages and debugger itself into octal too, and made
a few CPU's to give octal output by default. Note that for now just some functions things return octal, will add more, but since this change required clean compile better to put it sooner then later (no whatsnew)
Diffstat (limited to 'src/emu/devcpu.c')
-rw-r--r--src/emu/devcpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/devcpu.c b/src/emu/devcpu.c
index 0442b4746f5..f5316297f1d 100644
--- a/src/emu/devcpu.c
+++ b/src/emu/devcpu.c
@@ -122,6 +122,8 @@ legacy_cpu_device::legacy_cpu_device(const machine_config &mconfig, device_type
// allocate memory for the token
m_token = global_alloc_array_clear(UINT8, tokenbytes);
+ // set hex or octal output
+ m_is_octal = get_legacy_int(CPUINFO_IS_OCTAL);
}