I just realized somthing this morning... there's no need to change MAME source for this. MAME already works as intended. First, MAME searches for the driver .ini file in the "source\" sub-folder. If not found, then it searches the driver .ini in the ini_path root.
Taking the example for the galaga driver name and galaga game name. If you place the driver .ini in ini_path\source\galaga.ini, MAME will recognize that as the driver file.
If you also have a ini_path\galaga.ini, MAME will recognize that as the game .ini. Other games in the galaga driver will not use this file, only the one from the \source\ sub-folder...
Again, no change is necessary. All you need to remember is to place ALL your driver .ini files in the ini_path\source\ sub-folder.
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
|