Selectring joystick support now enables parallel joystick support automatically. Selecting Tetris selects the default Tetris, too
This commit is contained in:
parent
67f36c9f80
commit
102a17dbaf
|
@ -2,11 +2,13 @@ mainmenu_option next_comment
|
|||
comment "Games"
|
||||
|
||||
mainmenu_option next_comment
|
||||
comment "Tetris"
|
||||
dep_bool "Tetris Core (please select at least one of the below, too)" GAME_TETRIS_CORE $JOYSTICK_SUPPORT $RANDOM_SUPPORT
|
||||
dep_bool_menu "Tetris" GAME_TETRIS_CORE y $JOYSTICK_SUPPORT
|
||||
if [ "$GAME_TETRIS_CORE" = "y" ]; then
|
||||
GAME_TETRIS=y
|
||||
dep_bool "Standard Tetris" GAME_TETRIS $GAME_TETRIS_CORE
|
||||
dep_bool "Bastard Tetris" GAME_BASTET $GAME_TETRIS_CORE
|
||||
dep_bool "First Person Tetris" GAME_TETRIS_FP $GAME_TETRIS_CORE
|
||||
fi
|
||||
endmenu
|
||||
|
||||
dep_bool "space invaders" GAME_SPACE_INVADERS $JOYSTICK_SUPPORT $RANDOM_SUPPORT
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
dep_bool_menu "joystick support" JOYSTICK_SUPPORT y
|
||||
|
||||
if [ "$JOYSTICK_SUPPORT" = "y" ]; then
|
||||
PARALLEL_JOYSTICK_SUPPORT=y
|
||||
###################### Parallel joystick menu #################################
|
||||
dep_bool_menu "parallel joystick support" PARALLEL_JOYSTICK_SUPPORT y
|
||||
|
||||
if [ "$PARALLEL_JOYSTICK_SUPPORT" = "y" ]; then
|
||||
choice 'Pin up' \
|
||||
"PINA PINA \
|
||||
PINB PINB \
|
||||
|
@ -92,6 +95,7 @@ choice 'Bit fire' \
|
|||
Bit6 6 \
|
||||
Bit7 7" \
|
||||
'Bit3' JOYSTICK_BIT_FIRE
|
||||
fi
|
||||
|
||||
endmenu
|
||||
###############################################################################
|
||||
|
@ -99,6 +103,7 @@ endmenu
|
|||
###################### NES-Pad menu #################################
|
||||
dep_bool_menu "nes-pad support" NES_PAD_SUPPORT y
|
||||
|
||||
if [ "$NES_PAD_SUPPORT" = "y" ]; then
|
||||
choice 'Port clk' \
|
||||
"PORTA PORTA \
|
||||
PORTB PORTB \
|
||||
|
@ -120,7 +125,6 @@ choice 'Pin pl' \
|
|||
PORTD PORTD" \
|
||||
'PORTB' NES_PAD_PORT_DS
|
||||
|
||||
|
||||
choice 'Bit clk' \
|
||||
"Bit0 0 \
|
||||
Bit1 1 \
|
||||
|
@ -154,9 +158,11 @@ choice 'Bit ds' \
|
|||
Bit7 7" \
|
||||
'Bit2' NES_PAD_BIT_DS
|
||||
|
||||
fi
|
||||
|
||||
endmenu
|
||||
###############################################################################
|
||||
|
||||
fi
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Reference in New Issue