From 6c23897483a0201dd0b65b450253fd9bf8fb8723 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 27 Feb 2017 22:16:07 +1100 Subject: Self-registering devices prep: * Make device_creator a variable template and get rid of the ampersands * Remove screen.h and speaker.h from emu.h and add where necessary * Centralise instantiations of screen and speaker finder templates * Add/standardise #include guards in many hearers * Remove many redundant #includes * Order #includesr to help catch headers that can't be #included alone (nw) This changes #include order to be prefix, unit header if applicable then other stuff roughly in order from most dependent to least dependent library. This helps catch headers that don't #include things that they use. --- src/devices/video/snes_ppu.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/devices/video/snes_ppu.h') diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h index d8ca3fee814..ab1a30245df 100644 --- a/src/devices/video/snes_ppu.h +++ b/src/devices/video/snes_ppu.h @@ -6,10 +6,12 @@ ***************************************************************************/ +#ifndef MAME_DEVICES_VIDEO_SNES_PPU_H +#define MAME_DEVICES_VIDEO_SNES_PPU_H + #pragma once -#ifndef __SNES_PPU_H__ -#define __SNES_PPU_H__ +#include "screen.h" #define MCLK_NTSC (21477272) /* verified */ @@ -297,4 +299,4 @@ extern const device_type SNES_PPU; #define MCFG_SNES_PPU_OPENBUS_CB(_read) \ devcb = &snes_ppu_device::static_set_open_bus_callback(*device, DEVCB_##_read); -#endif +#endif // MAME_DEVICES_VIDEO_SNES_PPU_H -- cgit v1.2.3