MAMEWorld >> MAME Artwork: Official
View all threads Index   Flat Mode Flat  

krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM
Re: Question about DECO cassette artwork...
01/22/12 08:04 PM


Ah. I see.

This seems like one of those object oriented design issues... inheritance vs composition.

They shouldn't extend from a BIOS, they should contain (or use) a BIOS.

Instead of:

BIOS --> parent game --> clone game

It should be something like:

parent game (uses BIOS) --> clone game (uses BIOS)


The problem is that a BIOS is not a game, but it's treated as one in MAME so that sets can "inherit" from them as they would a parent set.

From a software design standpoint, I think that the GAME macro should have a separate parameter for a BIOS for games that require one.

The other option is to make every parent set include the BIOS ROMs, but I assume avoiding that was exactly why we ended up with the design that we currently have in MAME.


GroovyMAME support forum on BYOAC







Entire thread
Subject Posted by Posted on
* Question about DECO cassette artwork... Bad A Billy 01/22/12 07:40 AM
. * Re: Question about DECO cassette artwork... Mr. DoAdministrator  01/22/12 10:49 AM
. * .lay files for the missing DECO cassette artwork... Bad A Billy  01/23/12 12:55 AM
. * Re: Question about DECO cassette artwork... krick  01/22/12 05:06 PM
. * Re: Question about DECO cassette artwork... Mr. DoAdministrator  01/22/12 07:17 PM
. * Re: Question about DECO cassette artwork... krick  01/22/12 08:04 PM
. * Re: Question about DECO cassette artwork... etabeta  01/30/12 06:04 PM

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