Skip to content

Commit 29b8bc1

Browse files
committed
Give LGPE a color for using joycons.
1 parent 6f0b0e5 commit 29b8bc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

SerialPrograms/Source/NintendoSwitch/Framework/NintendoSwitch_SwitchSystemOption.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ Color pick_color(
3737
if (required_features.contains(ControllerFeature::NintendoSwitch_DateSkip)){
3838
return COLOR_RED;
3939
}
40+
if (required_features.contains(ControllerFeature::NintendoSwitch_LeftJoycon) ||
41+
required_features.contains(ControllerFeature::NintendoSwitch_RightJoycon)
42+
){
43+
return COLOR_MAGENTA;
44+
}
4045
if (required_features.contains(ControllerFeature::TickPrecise)){
4146
return COLOR_PURPLE;
4247
}

0 commit comments

Comments
 (0)