summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/gb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/gb.h')
-rw-r--r--src/mame/includes/gb.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/includes/gb.h b/src/mame/includes/gb.h
index ac037d4ad47..09a585e9aff 100644
--- a/src/mame/includes/gb.h
+++ b/src/mame/includes/gb.h
@@ -9,6 +9,8 @@
#ifndef MAME_INCLUDES_GB_H
#define MAME_INCLUDES_GB_H
+#pragma once
+
#include "sound/gb.h"
#include "cpu/lr35902/lr35902.h"
#include "bus/gameboy/gb_slot.h"
@@ -20,8 +22,8 @@
class gb_state : public driver_device
{
public:
- gb_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag),
+ gb_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
m_cartslot(*this, "gbslot"),
m_maincpu(*this, "maincpu"),
m_apu(*this, "apu"),
@@ -30,7 +32,8 @@ public:
m_inputs(*this, "INPUTS"),
m_bios_hack(*this, "SKIP_CHECK"),
m_ram(*this, RAM_TAG),
- m_ppu(*this, "ppu") { }
+ m_ppu(*this, "ppu")
+ { }
uint8_t m_gb_io[0x10];