Skip to content

Commit

Permalink
Tron: really fix LE/Pro bulb definition
Browse files Browse the repository at this point in the history
  • Loading branch information
vbousquet committed Jan 13, 2025
1 parent 7915412 commit 1b4edd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wpc/sam.c
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ static MACHINE_INIT(sam) {
core_set_pwm_output_type(CORE_MODOUT_LAMP0 + 100, 6, CORE_MODOUT_LED); // Ramp RGB LEDs
core_set_pwm_output_type(CORE_MODOUT_SOL0 + 17 - 1, 5, CORE_MODOUT_BULB_89_20V_DC_WPC);
core_set_pwm_output_type(CORE_MODOUT_SOL0 + 25 - 1, 8, CORE_MODOUT_BULB_89_20V_DC_WPC);
if (gn[strlen(gn)-1] == 'h')
if (Machine->gamedrv->name[strlen(Machine->gamedrv->name)-1] == 'h')
core_set_pwm_output_type(CORE_MODOUT_LAMP0, 80, CORE_MODOUT_LED_STROBE_1_10MS); // Limited Edition: All LED
else
core_set_pwm_output_type(CORE_MODOUT_LAMP0 + 60 - 1, 3, CORE_MODOUT_LED_STROBE_1_10MS); // Pro: #555 except for bumper LEDs
Expand Down

0 comments on commit 1b4edd5

Please sign in to comment.