mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
srcclean and fixup (nw)
This commit is contained in:
parent
5babaee623
commit
f99c502820
@ -567,9 +567,10 @@ u16 swp30_device::snd_r(offs_t offset)
|
|||||||
preg = util::string_format("%03x", (slot-0x21)/2 + 6*chan);
|
preg = util::string_format("%03x", (slot-0x21)/2 + 6*chan);
|
||||||
logerror("snd_r [%04x %04x - %-4s] %02x.%02x %04x\n", offset, offset*2, preg, chan, slot, rr[offset]);
|
logerror("snd_r [%04x %04x - %-4s] %02x.%02x %04x\n", offset, offset*2, preg, chan, slot, rr[offset]);
|
||||||
}
|
}
|
||||||
if(offset == 0x080f)
|
if(offset == 0x080f) {
|
||||||
return rr[offset] & ~8;
|
return rr[offset] & ~8;
|
||||||
// return chan == 0x20 && slot == 0xf ? 0 : 0xffff;
|
// return chan == 0x20 && slot == 0xf ? 0 : 0xffff;
|
||||||
|
}
|
||||||
return rr[offset];
|
return rr[offset];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -656,7 +657,7 @@ void swp30_device::sound_stream_update(sound_stream &stream, stream_sample_t **i
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// logerror("sample %02x %06x [%d] %+5d %04x %04x %04x\n", channel, base_address >> 2, m_address[channel] >> 30, spos, samp & 0xffff, m_volume[channel], m_pan[channel]);
|
//logerror("sample %02x %06x [%d] %+5d %04x %04x %04x\n", channel, base_address >> 2, m_address[channel] >> 30, spos, samp & 0xffff, m_volume[channel], m_pan[channel]);
|
||||||
|
|
||||||
// Second, step the sample pos, loop/deactivate as needed
|
// Second, step the sample pos, loop/deactivate as needed
|
||||||
m_sample_pos[channel] += m_sample_increment[m_freq[channel] & 0x3fff];
|
m_sample_pos[channel] += m_sample_increment[m_freq[channel] & 0x3fff];
|
||||||
|
@ -5029,6 +5029,6 @@ GAME( 2008, kovshxas, kovshp, pgm_arm_type1, kovsh, pgm_arm_ty
|
|||||||
//乱世拳皇/Luànshì quánhuáng
|
//乱世拳皇/Luànshì quánhuáng
|
||||||
GAME( 200?, kovlsqh, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
GAME( 200?, kovlsqh, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
||||||
GAME( 200?, kovlsqh2, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang 2 (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
GAME( 200?, kovlsqh2, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Quanhuang 2 (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
||||||
//ה¹±ה¸–ט¡—י<EFBFBD>¸/Luֳ nshֳ¬ jiִ“ bֳ
|
//乱世街霸/Luànshì jiē bà
|
||||||
GAME( 200?, kovlsjb, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 1)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
GAME( 200?, kovlsjb, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 1)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
||||||
GAME( 200?, kovlsjba, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 2)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
GAME( 200?, kovlsjba, kovshp, pgm_arm_type1, kovsh, pgm_arm_type1_state, init_kovlsqh2, ROT0, "bootleg", "Luanshi Jie Ba (bootleg of Knights of Valour Super Heroes Plus, ver. 200CN, set 2)", MACHINE_IMPERFECT_SOUND | MACHINE_UNEMULATED_PROTECTION | MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) /* need internal rom of IGS027A */
|
||||||
|
@ -252,12 +252,12 @@ class mu100_state : public driver_device
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
mu100_state(const machine_config &mconfig, device_type type, const char *tag)
|
mu100_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||||
: driver_device(mconfig, type, tag),
|
: driver_device(mconfig, type, tag)
|
||||||
m_maincpu(*this, "maincpu"),
|
, m_maincpu(*this, "maincpu")
|
||||||
m_swp30(*this, "swp30"),
|
, m_swp30(*this, "swp30")
|
||||||
m_lcd(*this, "lcd"),
|
, m_lcd(*this, "lcd")
|
||||||
m_ioport_p7(*this, "P7"),
|
, m_ioport_p7(*this, "P7")
|
||||||
m_ioport_p8(*this, "P8")
|
, m_ioport_p8(*this, "P8")
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
void mu100(machine_config &config);
|
void mu100(machine_config &config);
|
||||||
|
Loading…
Reference in New Issue
Block a user