From bd5585505d1aa27374fcf9cd7bbdb7501b7e0e97 Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 19 Dec 2022 19:49:33 +0100 Subject: device_state_entry::format: fix wrong value when used with callexport --- src/emu/distate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/distate.cpp b/src/emu/distate.cpp index 0d94c4dcf81..d0ade8edc4b 100644 --- a/src/emu/distate.cpp +++ b/src/emu/distate.cpp @@ -204,7 +204,7 @@ double device_state_entry::entry_dvalue() const std::string device_state_entry::format(const char *string, bool maxout) const { std::string dest; - u64 result = entry_value() & m_datamask; + u64 result = value(); // parse the format bool leadzero = false; -- cgit v1.2.3