fixed coin lockout and missing sound/music, default eeprom had volume 0

This commit is contained in:
Michaël Banaan Ananas 2012-05-10 22:45:06 +00:00
parent ea0ddf7be7
commit 621fa9a92f

View File

@ -39,9 +39,6 @@
No networked machine support
Coin lockout not working (see gunbustr_input_w): perhaps this
was a prototype version without proper coin handling?
***************************************************************************/
#include "emu.h"
@ -120,11 +117,9 @@ popmessage(t);
{
if (ACCESSING_BITS_24_31)
{
/* game does not write a separate counter for coin 2!
It should disable both coins when 9 credits reached
see code $1d8a-f6... but for some reason it's not */
coin_lockout_w(machine(), 0, data & 0x01000000);
coin_lockout_w(machine(), 1, data & 0x02000000);
/* game does not write a separate counter for coin 2! maybe in linked mode? */
coin_lockout_w(machine(), 0, ~data & 0x01000000);
coin_lockout_w(machine(), 1, ~data & 0x02000000);
coin_counter_w(machine(), 0, data & 0x04000000);
coin_counter_w(machine(), 1, data & 0x04000000);
m_coin_word = (data >> 16) &0xffff;
@ -399,7 +394,7 @@ ROM_START( gunbustr )
ROM_LOAD16_BYTE( "d27-10.bin", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) ) // -std-
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(af7dc017) SHA1(5ff106cccd2679025cdd81fbc133d32148e2818c) )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(ef3685a1) SHA1(899b4b6dd2fd78be3a2ce00a2ef1840de9f122c3) )
ROM_END
ROM_START( gunbustru )
@ -433,7 +428,7 @@ ROM_START( gunbustru )
ROM_LOAD16_BYTE( "d27-10.bin", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) ) // -std-
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(af7dc017) SHA1(5ff106cccd2679025cdd81fbc133d32148e2818c) )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(ef3685a1) SHA1(899b4b6dd2fd78be3a2ce00a2ef1840de9f122c3) )
ROM_END
ROM_START( gunbustrj )
@ -467,7 +462,7 @@ ROM_START( gunbustrj )
ROM_LOAD16_BYTE( "d27-10.bin", 0x600000, 0x100000, CRC(ed894fe1) SHA1(5bf2fb6abdcf25bc525a2c3b29dbf7aca0b18fea) ) // -std-
ROM_REGION16_BE( 0x80, "eeprom", 0 )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(af7dc017) SHA1(5ff106cccd2679025cdd81fbc133d32148e2818c) )
ROM_LOAD16_WORD( "eeprom-gunbustr.bin", 0x0000, 0x0080, CRC(ef3685a1) SHA1(899b4b6dd2fd78be3a2ce00a2ef1840de9f122c3) )
ROM_END
READ32_MEMBER(gunbustr_state::main_cycle_r)