> Replaced mamedriv.c with a new driver list mechanism that is generated > by the build tools. The emulator core now expects the presence of a > file called src/$(TARGET)/$(SUBTARGET).lst which is just a raw list of > driver names, one per line. C and C++ comments are still permitted. > This file is parsed by a new build tool makelist which extracts the > driver names, sorts them, and generates a file called drivlist.c, > which is consumed by the core. [Aaron Giles]
> Created new static class driver_list to wrap accesses to the list of > available drivers. Improved speed of driver lookups by relying on the > presorting done by makelist. [Aaron Giles]
These are good changes; I had been thinking about doing something similar but never got around to it. It will certainly make it easier to build MAME targeted towards a subset of drivers, which is very useful e.g. during development.
|