I have a specific issue that's really making me pull my hair out.
I've compiled a custom MAME64 executable for highscore as well as direct input. I'm compiling mame 159.
This is being used in a cabinet I'm building that uses joysticks as well as XBox 360 wireless controllers.
I'm compiling the custome exe with direct input so as to allow the usage of JoyToKey so I can have keyboard buttons mapped to the XBox controllers for things like tab, esc, and F1 for restting.
My problem is this:
When the wireless XBox controllers are on, there are no problems. However, when MAME is launched with them off, and exited, the program crashes, prompts with a windows error, and it clears the default.cfg.
It's specifically related to the XBox wireless controllers not being on, and with them being mapped to buttons in the emulator. If the original, cleared, default.cfg is in place, it no longer crashes and things are fine.
But if the modified default.cfg is in place, with my custom mappings, and XBox controllers off, it crashes.
Any advice?