Merge pull request #3868 from superctr/taito_zoom_balance

taito_zm games: Better default Zoom/SPU balance
This commit is contained in:
R. Belmont 2018-08-19 10:59:56 -04:00 committed by GitHub
commit d5b28b8ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View File

@ -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++;

View File

@ -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

View File

@ -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();

View File

@ -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);