tidy (nw)

This commit is contained in:
David Haywood 2017-07-06 11:10:25 +01:00
parent 445028aedf
commit 55639950fd
3 changed files with 11 additions and 11 deletions

View File

@ -7,6 +7,7 @@
*/
#include "emu.h"
#include "upd7811.h"
/*

View File

@ -1,8 +1,8 @@
// license:BSD-3-Clause
// copyright-holders:Juergen Buchmueller
#ifndef MAME_CPU_UPD7811
#define MAME_CPU_UPD7811
#ifndef MAME_CPU_UPD7811_H
#define MAME_CPU_UPD7811_H
#pragma once
@ -17,4 +17,4 @@ public:
upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};
#endif
#endif // MAME_CPU_UPD7811_H

View File

@ -1,8 +1,8 @@
// license:BSD-3-Clause
// copyright-holders:David Haywood, Jonathan Gevaryahu
#ifndef MAME_MACHINE_CCHIP_DEV
#define MAME_MACHINE_CCHIP_DEV
#ifndef MAME_MACHINE_CCHIP_DEV_H
#define MAME_MACHINE_CCHIP_DEV_H
#pragma once
@ -21,11 +21,7 @@ public:
// construction/destruction
taito_cchip_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
required_device<cpu_device> m_upd7811;
required_device<address_map_bank_device> m_upd4464_bank;
required_shared_ptr<uint8_t> m_upd4464;
// can this be accessed externally?
// can be accessed externally
DECLARE_READ8_MEMBER(asic_r);
DECLARE_WRITE8_MEMBER(asic_w);
DECLARE_READ8_MEMBER(mem_r);
@ -38,6 +34,9 @@ protected:
virtual void device_reset() override;
private:
required_device<cpu_device> m_upd7811;
required_device<address_map_bank_device> m_upd4464_bank;
required_shared_ptr<uint8_t> m_upd4464;
};
#endif // MAME_MACHINE_CCHIP_DEV
#endif // MAME_MACHINE_CCHIP_DEV_H