Originally Posted by Vas Crabb
Originally Posted by master higgins
Hi Vas, I was testing [gladiatr] and couldn help to turn a blind eye on a bug on the driver. As soon as the game boots and do the RAM/ROM checks it starts with a credit inserted. IDK where I can post bugs (if there's a bug report system). This bug was introduced in mame 0.182.

I know that. You should search MAME testers and github issues for an existing report. The MCU code we have is weird, and obviously has various things hacked out of it, including RAM/register initialisation. It looks like the kind of thing you'd find on a bootleg, but more than one person has insisted they've found this MCU program on genuine boards. Because the MCU code doesn't initialise its registers and onboard RAM on boot, it starts with whatever MAME initialises it to. This happens it start up thinking it has one inserted credit it needs to tell the game program about.

Hi, I was messing around with some cheats for gladiatr and I found out that the address maincpu.pb@f68d starts with 1 and this causes to boot with one credit. If this address is set to 0 during the boot sequence and keep it all the way through the boot process the game starts without the extra credit. Also, the coin1 and coin2 switches seems to be inverted since I push coin1 twice and then a credit is inserted, but if i push coin2 just 1 credit is inserted.

I hope this helps you a little. I know it's a hack but there's nothing left to aid solve this problem than a full review of the driver code.