mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
tidy (nw)
This commit is contained in:
parent
445028aedf
commit
55639950fd
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "emu.h"
|
||||||
#include "upd7811.h"
|
#include "upd7811.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
// license:BSD-3-Clause
|
// license:BSD-3-Clause
|
||||||
// copyright-holders:Juergen Buchmueller
|
// copyright-holders:Juergen Buchmueller
|
||||||
|
|
||||||
#ifndef MAME_CPU_UPD7811
|
#ifndef MAME_CPU_UPD7811_H
|
||||||
#define MAME_CPU_UPD7811
|
#define MAME_CPU_UPD7811_H
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
@ -17,4 +17,4 @@ public:
|
|||||||
upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
upd7811_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif // MAME_CPU_UPD7811_H
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
// license:BSD-3-Clause
|
// license:BSD-3-Clause
|
||||||
// copyright-holders:David Haywood, Jonathan Gevaryahu
|
// copyright-holders:David Haywood, Jonathan Gevaryahu
|
||||||
|
|
||||||
#ifndef MAME_MACHINE_CCHIP_DEV
|
#ifndef MAME_MACHINE_CCHIP_DEV_H
|
||||||
#define MAME_MACHINE_CCHIP_DEV
|
#define MAME_MACHINE_CCHIP_DEV_H
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
@ -21,11 +21,7 @@ public:
|
|||||||
// construction/destruction
|
// construction/destruction
|
||||||
taito_cchip_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
taito_cchip_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
|
||||||
|
|
||||||
required_device<cpu_device> m_upd7811;
|
// can be accessed externally
|
||||||
required_device<address_map_bank_device> m_upd4464_bank;
|
|
||||||
required_shared_ptr<uint8_t> m_upd4464;
|
|
||||||
|
|
||||||
// can this be accessed externally?
|
|
||||||
DECLARE_READ8_MEMBER(asic_r);
|
DECLARE_READ8_MEMBER(asic_r);
|
||||||
DECLARE_WRITE8_MEMBER(asic_w);
|
DECLARE_WRITE8_MEMBER(asic_w);
|
||||||
DECLARE_READ8_MEMBER(mem_r);
|
DECLARE_READ8_MEMBER(mem_r);
|
||||||
@ -38,6 +34,9 @@ protected:
|
|||||||
virtual void device_reset() override;
|
virtual void device_reset() override;
|
||||||
|
|
||||||
private:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user