mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Merge pull request #3868 from superctr/taito_zoom_balance
taito_zm games: Better default Zoom/SPU balance
This commit is contained in:
commit
d5b28b8ad7
@ -346,7 +346,7 @@ void zsg2_device::sound_stream_update(sound_stream &stream, stream_sample_t **in
|
||||
}
|
||||
|
||||
for(int output=0; output<4; output++)
|
||||
outputs[output][i] = mix[output];
|
||||
outputs[output][i] = std::min<int32_t>(std::max<int32_t>(mix[output], -32768), 32767);
|
||||
|
||||
}
|
||||
m_sample_count++;
|
||||
|
@ -206,8 +206,8 @@ MACHINE_CONFIG_START(taito_zoom_device::device_add_mconfig)
|
||||
m_tms57002->empty_callback().set_inputline(m_soundcpu, MN10200_IRQ1).invert();
|
||||
|
||||
m_tms57002->set_addrmap(AS_DATA, &taito_zoom_device::tms57002_map);
|
||||
m_tms57002->add_route(2, *this, 0.5, AUTO_ALLOC_INPUT, 0);
|
||||
m_tms57002->add_route(3, *this, 0.5, AUTO_ALLOC_INPUT, 1);
|
||||
m_tms57002->add_route(2, *this, 1.0, AUTO_ALLOC_INPUT, 0);
|
||||
m_tms57002->add_route(3, *this, 1.0, AUTO_ALLOC_INPUT, 1);
|
||||
#else // Unsupported opcode issue
|
||||
m_tms57002->set_disable();
|
||||
#endif
|
||||
|
@ -741,8 +741,8 @@ MACHINE_CONFIG_START(taitogn_state::coh3002t)
|
||||
SPEAKER(config, "rspeaker").front_right();
|
||||
|
||||
MCFG_SPU_ADD("spu", XTAL(67'737'600)/2)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.3)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.3)
|
||||
|
||||
TAITO_ZOOM(config, m_zoom);
|
||||
m_zoom->set_use_flash();
|
||||
|
@ -1203,8 +1203,8 @@ MACHINE_CONFIG_START(zn_state::coh1000tb)
|
||||
/* sound hardware */
|
||||
MCFG_DEVICE_MODIFY("spu")
|
||||
MCFG_SOUND_ROUTES_RESET()
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.3)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.3)
|
||||
|
||||
TAITO_ZOOM(config, m_zoom);
|
||||
m_zoom->add_route(0, "lspeaker", 1.0);
|
||||
@ -1227,8 +1227,8 @@ MACHINE_CONFIG_START(zn_state::coh1002tb)
|
||||
/* sound hardware */
|
||||
MCFG_DEVICE_MODIFY("spu")
|
||||
MCFG_SOUND_ROUTES_RESET()
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.45)
|
||||
MCFG_SOUND_ROUTE(0, "lspeaker", 0.3)
|
||||
MCFG_SOUND_ROUTE(1, "rspeaker", 0.3)
|
||||
|
||||
TAITO_ZOOM(config, m_zoom);
|
||||
m_zoom->add_route(0, "lspeaker", 1.0);
|
||||
|
Loading…
Reference in New Issue
Block a user