summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/amigaaga.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
commitc0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 (patch)
tree359e7b0d6560d05a1872c2e18773a6e2e5038b7f /src/mame/video/amigaaga.h
parent6d39a913e54c73640e4b5e7493b223c87a14c64a (diff)
(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
Diffstat (limited to 'src/mame/video/amigaaga.h')
-rw-r--r--src/mame/video/amigaaga.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/video/amigaaga.h b/src/mame/video/amigaaga.h
index 3d99cc47a21..e45baac243f 100644
--- a/src/mame/video/amigaaga.h
+++ b/src/mame/video/amigaaga.h
@@ -1,9 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Ernesto Corvi, Mariusz Wojcieszek
+#ifndef MAME_VIDEO_AMIGAAGA_H
+#define MAME_VIDEO_AMIGAAGA_H
-#ifndef __AMIGAAGA_H__
-#define __AMIGAAGA_H__
+#pragma once
void amiga_aga_palette_write(running_machine &machine, int color_reg, uint16_t data);
-#endif /* __AMIGA_H__ */
+#endif // MAME_VIDEO_AMIGAAGA_H