File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -569,7 +569,7 @@ DEFS += -DLUA_COMPAT_APIINTCASTS
569569
570570# CFLAGS is defined based on C or C++ targets
571571# (remember, expansion only happens when used, so doing it here is ok)
572- CFLAGS = $(CCOMFLAGS ) $(CPPONLYFLAGS )
572+ CFLAGS + = $(CCOMFLAGS ) $(CPPONLYFLAGS )
573573
574574# we compile C-only to C89 standard with GNU extensions
575575# we compile C++ code to C++98 standard with GNU extensions
Original file line number Diff line number Diff line change @@ -1324,6 +1324,20 @@ static void Input_Binding(running_machine &machine)
13241324 Buttons_mapping [5 ]= RETROPAD_R ;
13251325
13261326 }
1327+ else if (
1328+ (core_stricmp (machine .system ().name , "shangon" ) == 0 ) ||
1329+ (core_stricmp (machine .system ().parent , "shangon" ) == 0 )
1330+ )
1331+ {
1332+ /* Super Hang-On */
1333+
1334+ Buttons_mapping [0 ]= RETROPAD_A ;
1335+ Buttons_mapping [1 ]= RETROPAD_B ;
1336+ Buttons_mapping [2 ]= RETROPAD_Y ;
1337+ Buttons_mapping [3 ]= RETROPAD_X ;
1338+ Buttons_mapping [4 ]= RETROPAD_L ;
1339+ Buttons_mapping [5 ]= RETROPAD_R ;
1340+ }
13271341
13281342}
13291343
You can’t perform that action at this time.
0 commit comments