mirror of
https://github.com/holub/mame
synced 2025-06-02 10:59:52 +03:00
Clang is being annoying (nw)
This commit is contained in:
parent
ebf7032696
commit
2e509a3b48
@ -58,7 +58,7 @@
|
||||
* (rasterizer, etc).
|
||||
*
|
||||
* - on_pop:
|
||||
* Called when a new value was just pushed. That callback is
|
||||
* Called when a new value was just popped. That callback is
|
||||
* usually not needed, but it can be useful when the source is not
|
||||
* an executable device but something hardcoded.
|
||||
*
|
||||
@ -88,8 +88,8 @@ public:
|
||||
std::function<void ()> on_fifo_unempty,
|
||||
std::function<void ()> on_fifo_full_post_sync,
|
||||
std::function<void ()> on_fifo_unfull,
|
||||
std::function<void ()> on_push = [](){},
|
||||
std::function<void ()> on_pop = [](){}) {
|
||||
std::function<void ()> on_push,
|
||||
std::function<void ()> on_pop) {
|
||||
m_on_fifo_empty_pre_sync = on_fifo_empty_pre_sync;
|
||||
m_on_fifo_empty_post_sync = on_fifo_empty_post_sync;
|
||||
m_on_fifo_unempty = on_fifo_unempty;
|
||||
|
@ -195,13 +195,18 @@ MACHINE_START_MEMBER(model2_tgp_state,model2_tgp)
|
||||
[this]() { m_copro_tgp->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_copro_tgp->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); });
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
|
||||
m_copro_fifo_out->setup(16,
|
||||
[this]() { m_maincpu->i960_stall(); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[this]() { m_copro_tgp->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_copro_tgp->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); });
|
||||
[this]() { m_copro_tgp->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
}
|
||||
|
||||
MACHINE_START_MEMBER(model2b_state,model2b)
|
||||
@ -235,12 +240,16 @@ MACHINE_START_MEMBER(model2c_state,model2c)
|
||||
[ ]() { },
|
||||
[ ]() { },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); });
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
m_copro_fifo_out->setup(16,
|
||||
[this]() { m_maincpu->i960_stall(); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
}
|
||||
|
||||
|
@ -1749,13 +1749,17 @@ MACHINE_START_MEMBER(model1_state,model1)
|
||||
[this]() { m_tgp_copro->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_tgp_copro->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); });
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
m_copro_fifo_out->setup(16,
|
||||
[this]() { m_maincpu->stall(); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[this]() { m_tgp_copro->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_tgp_copro->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); });
|
||||
[this]() { m_tgp_copro->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
|
||||
} else {
|
||||
bool is_swa =
|
||||
@ -1778,12 +1782,15 @@ MACHINE_START_MEMBER(model1_state,model1)
|
||||
[ ]() { },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
push_cb);
|
||||
push_cb,
|
||||
[ ]() { });
|
||||
m_copro_fifo_out->setup(16,
|
||||
[this]() { m_maincpu->stall(); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE); },
|
||||
[this]() { m_maincpu->set_input_line(INPUT_LINE_HALT, CLEAR_LINE); },
|
||||
[ ]() { },
|
||||
[ ]() { },
|
||||
[ ]() { },
|
||||
[ ]() { });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user