I logged the issue in github: https://github.com/mamedev/mame/issues/9170