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

etabeta
Reged: 08/25/04
Posts: 2036
Send PM
Re: Using PORT_INCLUDE and PORT_MODIFY macros...
07/14/10 12:46 PM


I want to stress that your original solution was perfectly fine as well for MAME (there are several drivers using an 'abstract' input port which is only included+modified by the specific games needs).

but, in this specific case, the use of IPT_UNUSED makes more clear where the difference is (i.e. the 6th bit is unused)







Entire thread
Subject Posted by Posted on
* Using PORT_INCLUDE and PORT_MODIFY macros... f4brice 07/13/10 10:34 PM
. * Re: Using PORT_INCLUDE and PORT_MODIFY macros... etabeta  07/14/10 11:24 AM
. * Re: Using PORT_INCLUDE and PORT_MODIFY macros... f4brice  07/14/10 12:28 PM
. * Re: Using PORT_INCLUDE and PORT_MODIFY macros... etabeta  07/14/10 12:46 PM

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