From d8f94651d7866e481ab4f0a72b059228ea478ebe Mon Sep 17 00:00:00 2001 From: hap Date: Mon, 2 Jan 2023 16:05:25 +0100 Subject: [PATCH] distate: max_length() has no use for value() either --- 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 d234cd4a69b..7a7e09283cc 100644 --- a/src/emu/distate.cpp +++ b/src/emu/distate.cpp @@ -410,7 +410,7 @@ std::string device_state_entry::to_string() const int device_state_entry::max_length() const { // ask the entry to format itself maximally - return format("", value(), true).length(); + return format("", 0, true).length(); }