blob: 01dae809bda3fcdeececeab91a8be671a375e94b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
#ifndef MAME_VIDEO_TC0150ROD_H
#define MAME_VIDEO_TC0150ROD_H
#pragma once
class tc0150rod_device : public device_t
{
public:
tc0150rod_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
DECLARE_READ16_MEMBER( word_r );
DECLARE_WRITE16_MEMBER( word_w );
void draw(bitmap_ind16 &bitmap, const rectangle &cliprect, int y_offs, int palette_offs, int type, int road_trans, bitmap_ind8 &priority_bitmap, u8 low_priority, u8 high_priority, u8 pmask = 0xff);
protected:
// device-level overrides
virtual void device_start() override;
private:
// internal state
std::vector<u16> m_ram;
required_region_ptr<u16> m_roadgfx;
};
DECLARE_DEVICE_TYPE(TC0150ROD, tc0150rod_device)
#endif // MAME_VIDEO_TC0150ROD_H
|