blob: be898e09ee565e8a9b5c29f33e750f0a7d01997c (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
#include "emu.h"
#include "includes/taito_l.h"
#include "screen.h"
#include <algorithm>
/***************************************************************************
Memory handlers
***************************************************************************/
void horshoes_state::horshoes_tile_cb(u32 &code)
{
code |= m_horshoes_gfxbank << 12;
}
void horshoes_state::bankg_w(u8 data)
{
if (m_horshoes_gfxbank != data)
{
m_horshoes_gfxbank = data;
m_main_cpu->mark_all_layer_dirty();
}
}
/***************************************************************************
Display refresh
***************************************************************************/
WRITE_LINE_MEMBER(taitol_state::screen_vblank_taitol)
{
// rising edge
if (state)
{
m_main_cpu->screen_eof();
}
}
|