From c6b2edfa8974cf0e92ec1e672c292e2f92c98e0d Mon Sep 17 00:00:00 2001 From: AJR Date: Fri, 13 Oct 2017 07:24:43 -0400 Subject: Explicitly allow floating point values for state registers Note that the internal debugger's expression interpreter is not set up to handle floating point values at all, so they remain disabled there. --- src/emu/debug/debugcpu.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/emu/debug/debugcpu.cpp') diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index 5b41d0f8241..0289ef7f664 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -1559,8 +1559,12 @@ device_debug::device_debug(device_t &device) std::string tempstr; for (const auto &entry : m_state->state_entries()) { - strmakelower(tempstr.assign(entry->symbol())); - m_symtable.add(tempstr.c_str(), (void *)(uintptr_t)entry->index(), get_state, entry->writeable() ? set_state : nullptr, entry->format_string()); + // TODO: floating point registers + if (!entry->is_float()) + { + strmakelower(tempstr.assign(entry->symbol())); + m_symtable.add(tempstr.c_str(), (void *)(uintptr_t)entry->index(), get_state, entry->writeable() ? set_state : nullptr, entry->format_string()); + } } } -- cgit v1.2.3