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

StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6222
Send PM
Re: asteroid.cpp question...
01/25/18 04:06 PM


> Thank you for looking. I spent about half hour looking at it before I posted and
> didn't see anything. But then again, I haven't wrote code in 15 years so I figured I
> would ask around and see if I missed something.
>
> Thanks again.
>
> [Edit] This has been resolved thanks to Mr.Do! Thank you guys for the help...

Oh, I'm an idiot.

Missed line 120 here: https://github.com/mamedev/mame/blob/master/src/mame/machine/asteroid.cpp#L120

Duke just clarified it a little more: https://github.com/mamedev/mame/commit/a...5b35188f34c3ccb

Code:

WRITE_LINE_MEMBER(asteroid_state::start1_led_w)
{
output().set_led_value(0, state ? 0 : 1);
}

WRITE_LINE_MEMBER(asteroid_state::start2_led_w)
{
output().set_led_value(1, state ? 0 : 1);
}



- Stiletto

Edited by Stiletto (01/25/18 04:30 PM)







Entire thread
Subject Posted by Posted on
* asteroid.cpp question... SteelTigers 01/25/18 12:08 AM
. * Re: asteroid.cpp question... StilettoAdministrator  01/25/18 05:12 AM
. * Re: asteroid.cpp question... SteelTigers  01/25/18 06:14 AM
. * Re: asteroid.cpp question... StilettoAdministrator  01/25/18 04:06 PM
. * Back on topic... Asteroids in 0.195 Mr. DoAdministrator  02/03/18 10:29 PM
. * Re: Back on topic... Asteroids in 0.195 Bad A Billy  02/04/18 06:31 AM
. * Changing topic... playch10.cpp question Mr. DoAdministrator  01/26/18 01:07 PM
. * Re: Changing topic... playch10.cpp question Vas Crabb  01/27/18 10:34 AM
. * Re: Changing topic... playch10.cpp question Mr. DoAdministrator  01/28/18 04:48 AM
. * Re: Changing topic... playch10.cpp question JWallace  01/26/18 04:06 PM
. * Re: Changing topic... playch10.cpp question Vas Crabb  01/28/18 06:01 AM
. * Re: Changing topic... playch10.cpp question JWallace  01/28/18 03:10 PM

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: 225