im been getting this problem with Mame

when i launch a game with Rocketlauncher it produces heavy lagging , the game is running at a 30 fps making it unplayable

i see that rocketlauncher is creating entries in the rom & ini paths in the ini.

strange thing is when i remove the ini & start the game through mame ui itself it runs fine at a 60 fps normal
only if i remove the ini

i uploaded a video https://streamable.com/ecqywp

i use certain mame builds for certain games , is it possible to make the module when starting the game it reads the game ini , instead of creating entries which makes the game lag heavy

please check the video

or if theres another way to fix this heavily appriciated !

i dont know whats causing this lag in the ini