summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nvram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/nvram.cpp')
-rw-r--r--src/devices/machine/nvram.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/nvram.cpp b/src/devices/machine/nvram.cpp
index d1e99ceb98b..88d1191187a 100644
--- a/src/devices/machine/nvram.cpp
+++ b/src/devices/machine/nvram.cpp
@@ -165,5 +165,5 @@ void nvram_device::determine_final_base()
// if we are region-backed for the default, find it now and make sure it's the right size
if (m_region != nullptr && m_region->bytes() != m_length)
- throw emu_fatalerror("NVRAM device '%s' has a default region, but it should be 0x%" SIZETFMT "X bytes", tag(), m_length);
+ throw emu_fatalerror("%s",string_format("NVRAM device '%s' has a default region, but it should be 0x%I64uX bytes", tag(), m_length).c_str());
}