Today I've test using LCD and fresh install XP x32, standard mame, standard ati driver (X1550). No crashes if I use layouts with 640x480 (which is my default config). Combination of rotated, non rotated layouts are finally fine but If I use denim layout then a different error appears:
EXECUTION ERROR
Must call BeginScreenDeviceChange before calling EndScreenDeviceChange
System.InvalidOperationException: Must call BeginScreenDeviceChange before calling EndScreenDeviceChange
at Microsoft.Xna.Framework.WindowsGameForm.EndScreenDeviceChange(String screenDeviceName, Int32 clientWidth, Int32 clientHeight)
at Microsoft.Xna.Framework.WindowsGameWindow.EndScreenDeviceChange(String screenDeviceName, Int32 clientWidth, Int32 clientHeight)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ApplyChanges()
at feel.OBJScene.ChangeRes(Int32 resX, Int32 resY, Boolean rotateScreen, Boolean applyChanges)
at feel.Feel.RefreshLayout()
at feel.Feel.UpdateUI(GameTime gameTime)
at feel.Feel.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMe ssageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at feel.Feel.Main()
BUT I'm not going to use layouts with different resolutions so it's no problem for me. Next step will test my own layouts and test everything on my hardware at home with groovymame and Calamity driver.
BTW. There is one bug, in fact already mentioned for one condition - [emulator_path] is some places does not work correctly. Today I realized that it does not work also with snap section, possibly others.