The link to Mame in the main menu is using the Mame 2003 plus core. From memory I think it’s using the 0.78 rom set? I can’t remember which one baseball uses, but you can download a different core that uses a different rom set etc, and edit the action file to use that core instead.
In fact I think there was someone else here a few months back asking for the exact same fix. I’ll see if i can find it!
I can write a small script for you when I get home, once I find out more! But essentially, you’ll need to make a reference to a different core.
Here’s what I searched and found: Is it possible to run ninja baseball batman?
Have a look through that! Sounds like it’s the age old neo geo troubleshooting. Looking up neo geo in search will give you HEAPS of results. See how you go!