From c0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sun, 22 Jul 2018 20:41:57 +1000 Subject: (nw) srcclean and some cleanup: * Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway * Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off * Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours --- src/emu/debug/debugcmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/debug/debugcmd.cpp') diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 4a433017724..f253235f714 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -3162,7 +3162,7 @@ void debugger_commands::execute_memdump(int ref, const std::vector address_space &sp = memory.space(space); bool octal = sp.is_octal(); int nc = octal ? (sp.addr_width() + 2) / 3 : (sp.addr_width() + 3) / 4; - + std::vector entries[2]; sp.dump_maps(entries[0], entries[1]); for (int mode = 0; mode < 2; mode ++) -- cgit v1.2.3