From 6f4c1f6e5b2525ac8b700b3a0754f5e99c4223e1 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 1 Nov 2019 00:47:41 +1100 Subject: Spring cleaning: * Changed emu_fatalerror to use util::string_format semantics * Fixed some incorrectly marked up stuff in build scripts * Make internal layout compression type a scoped enum (only zlib is supported still, but at least the values aren't magic numbers now) * Fixed memory leaks in Xbox USB * There can only be one "perfect quantum" device - enforce that only the root machine can set it, as allowing subdevices to will cause weird issues with slot cards overiding it * Allow multiple devices to set maximum quantum and use the most restrictive one (it's maximum quantum, it would be minimum interleave) * Got rid of device_slot_card_interface as it wasn't providing value * Added a helper template to reduce certain kinds of boilerplate in slots/buses * Cleaned up some particularly bad slot code (plenty more of that to do), and made some slots more idiomatic --- src/emu/machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/machine.cpp') diff --git a/src/emu/machine.cpp b/src/emu/machine.cpp index 1b00ddfcfd9..331d5a7905a 100644 --- a/src/emu/machine.cpp +++ b/src/emu/machine.cpp @@ -388,7 +388,7 @@ int running_machine::run(bool quiet) } catch (emu_fatalerror &fatal) { - osd_printf_error("Fatal error: %s\n", fatal.string()); + osd_printf_error("Fatal error: %s\n", fatal.what()); error = EMU_ERR_FATALERROR; if (fatal.exitcode() != 0) error = fatal.exitcode(); -- cgit v1.2.3-70-g09d2