summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/1943.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/1943.h')
-rw-r--r--src/mame/includes/1943.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mame/includes/1943.h b/src/mame/includes/1943.h
index 67a197cfc70..490eb23775a 100644
--- a/src/mame/includes/1943.h
+++ b/src/mame/includes/1943.h
@@ -5,14 +5,18 @@
1943
***************************************************************************/
+#ifndef MAME_INCLUDES_1943_H
+#define MAME_INCLUDES_1943_H
+
+#pragma once
#include "emupal.h"
class _1943_state : public driver_device
{
public:
- _1943_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ _1943_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
@@ -69,8 +73,10 @@ private:
virtual void video_start() override;
DECLARE_PALETTE_INIT(1943);
uint32_t screen_update_1943(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- void draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int priority );
+ void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect, int priority);
void c1943_map(address_map &map);
void sound_map(address_map &map);
};
+
+#endif // MAME_INCLUDES_1943_H