MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

etabeta
Reged: 08/25/04
Posts: 2036
Send PM
Re: A silly question about Mame drivers structure.
04/30/13 07:49 AM


> Specifically the "driver_device" "pacman_state" field use.

as you might notice, most variables/handlers used in drivers are now part of a C++ class, specific of the driver. among other things, we are migrating to the driver classes also some initialization code, including the functions usually hidden behind MACHINE_START/MACHINE_RESET/DRIVER_INIT macros

However, in order to move the DRIVER_INIT ones into the class, we needed the GAME macro to be aware of a 'reference' class where to find the DRIVER_INIT function. As such, if a driver had no DRIVER_INIT function in the old code, it just references the generic "driver_device" class...


> There is in somewhere an updated version of the guide for developers in mamedev?

no there is not







Entire thread
Subject Posted by Posted on
* A silly question about Mame drivers structure. Rockman 04/28/13 03:55 PM
. * Re: A silly question about Mame drivers structure. etabeta  04/30/13 07:49 AM
. * Re: A silly question about Mame drivers structure. Rockman  05/01/13 06:12 PM
. * Re: A silly question about Mame drivers structure. etabeta  05/05/13 05:24 PM
. * Re: A silly question about Mame drivers structure. Rockman  05/09/13 11:36 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 29 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3172