summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/pet/cb2snd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/pet/cb2snd.h')
-rw-r--r--src/devices/bus/pet/cb2snd.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/pet/cb2snd.h b/src/devices/bus/pet/cb2snd.h
index 9788431052c..86c48422421 100644
--- a/src/devices/bus/pet/cb2snd.h
+++ b/src/devices/bus/pet/cb2snd.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_PET_CB2SND_H
+#define MAME_BUS_PET_CB2SND_H
-#ifndef __PETUSER_CB2__
-#define __PETUSER_CB2__
+#pragma once
#include "user.h"
#include "sound/dac.h"
@@ -29,15 +29,15 @@ public:
virtual DECLARE_WRITE_LINE_MEMBER( input_m ) override;
- required_device<dac_bit_interface> m_dac;
-
protected:
// device-level overrides
virtual void device_start() override;
+
+ required_device<dac_bit_interface> m_dac;
};
// device type definition
-extern const device_type PET_USERPORT_CB2_SOUND_DEVICE;
+DECLARE_DEVICE_TYPE(PET_USERPORT_CB2_SOUND_DEVICE, pet_userport_cb2_sound_device)
-#endif
+#endif // MAME_BUS_PET_CB2SND_H