Why are you trying to report a bug, using a version of MAME that's almost a year old? Don't you think you shold test it on the latest build to make sure the bug still exists?
Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM