MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Rockman
MAME Fan
Reged: 08/23/12
Posts: 31
Send PM
A silly question about Mame drivers structure.
04/28/13 03:55 PM


Hi guys!

I have recently been playing with the Mame source code adding a few clones (Newbie level).

I have succeeded with older versions of Mame, but I not undestand the "new" fields of the structure of the drivers. They are not documented in Mamedev . Maybe it's a silly question, but I have not found the answer.

Can someone explain the differences between the old mame driver declaration structure, with the actual driver declaration of the games?

Old declaration in pacman.c (as in the DevWiki in Mamedev)
GAME( 1980, puckman, 0, pacman, pacman, 0, ROT90, "Namco", "PuckMan (Japan set 1)", GAME_SUPPORTS_SAVE )
GAME( 1980, puckmana, puckman, pacman, pacman, 0, ROT90, "Namco", "PuckMan (Japan set 2)", GAME_SUPPORTS_SAVE )

And the actual declaration: found in actual pacman.c:
GAME( 1980, puckman, 0, pacman, pacman, driver_device, 0, ROT90, "Namco", "Puck Man (Japan set 1)", GAME_SUPPORTS_SAVE )
6209 GAME( 1980, puckmana, puckman, pacman, pacman, driver_device, 0, ROT90, "Namco", "Puck Man (Japan set 2)", GAME_SUPPORTS_SAVE )


Specifically the "driver_device" "pacman_state" field use.

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

Thanks. :P







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 3 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3088