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

Pages: 1

LuoXiaoDi
MAME Fan
Reged: 02/21/14
Posts: 9
Send PM


Two games have same hardware, only ROM is not same.
#323803 - 03/26/14 05:15 AM


When I run the 2nd game
Errors:
Driver description is a duplicate of bigmario.c(36b)

What shall I do?



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: Two games have same hardware, only ROM is not same. new [Re: LuoXiaoDi]
#323825 - 03/26/14 06:34 PM


> When I run the 2nd game
> Errors:
> Driver description is a duplicate of bigmario.c(36b)
>
> What shall I do?

you change the description of the game and not only the shortname



LuoXiaoDi
MAME Fan
Reged: 02/21/14
Posts: 9
Send PM


Re: Two games have same hardware, only ROM is not same. new [Re: etabeta]
#323842 - 03/27/14 06:44 PM


GAMEL(1987, bigmario , 0 , bigmario, bigmario, driver_device, 0, ROT0, "Unknown", "Big Mario", GAME_SUPPORTS_SAVE, layout_bigmario )
GAMEL(1990, mali2 , 0 , bigmario, bigmario, driver_device, 0, ROT0, "Tai Bei", "Mario 2", GAME_SUPPORTS_SAVE, layout_bigmario )

oh?



etabeta
Reged: 08/25/04
Posts: 2036
Send PM


Re: Two games have same hardware, only ROM is not same. new [Re: LuoXiaoDi]
#323866 - 03/28/14 07:53 AM


that would be expected to work.
if it does not, I cannot help you without looking at the driver (the amount of information you provided is insufficient to spot the problem)



LuoXiaoDi
MAME Fan
Reged: 02/21/14
Posts: 9
Send PM


Re: Two games have same hardware, only ROM is not same. new [Re: etabeta]
#323874 - 03/28/14 12:33 PM


If I ignore it.
Errors:
Driver description is a duplicate of bigmario.c(36b)

It works well.



AWJ
Reged: 03/08/05
Posts: 936
Loc: Ottawa, Ontario
Send PM


Re: Two games have same hardware, only ROM is not same. new [Re: LuoXiaoDi]
#323894 - 03/28/14 08:37 PM


> GAMEL(1987, bigmario , 0 , bigmario, bigmario, driver_device, 0, ROT0, "Unknown",
> "Big Mario", GAME_SUPPORTS_SAVE, layout_bigmario )
> GAMEL(1990, mali2 , 0 , bigmario, bigmario, driver_device, 0, ROT0, "Tai Bei", "Mario
> 2", GAME_SUPPORTS_SAVE, layout_bigmario )
>
> oh?

Errors:
Driver description is a duplicate of bigmario.c(36b)


The error message is telling you that one of those drivers is a duplicate of a driver (game) named "36b".

Is there a game with the shortname "36b" in the driver? If there isn't, MAME is getting badly confused and you've probably done something wrong. Or you just need to do a clean build.

Edited by AWJ (03/28/14 08:46 PM)


Pages: 1

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

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