diff options
Diffstat (limited to 'launch/emu')
-rwxr-xr-x | launch/emu | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,9 +1,8 @@ #!/bin/sh - # This only works for collections with a common extension. You can rename all your roms to use the same extension and (in any decent emulator at least) they should work regardless of the actual header type gamedir=${XDG_DATA_HOME:-$HOME/.local/share}/games dmenuprompt="dmenu -l 25" -resolution() { cat /sys/class/drm/*/modes | head -1 } +resolution() { cat /sys/class/drm/*/modes | head -1; } case "$1" in 2600) dmenucolors="-nb #111 -nf #e4963c -sb #6c3b17 -sf #fff -nhb #121212 -nhf #fc5231 -shb #804f2d -shf #fc5231" @@ -41,7 +40,7 @@ case "$1" in ext=nds ;; *) - console=`ls $gamedir | dmenu -l 25` && ($0 $console || emu) # Allows going back to select a different console + console=`ls $gamedir | dmenu -l 25` && ($0 $console || $0) # Allows going back to select a different console exit ;; esac |