diff options
Diffstat (limited to 'games-emulation/nestopia/files/nestopia')
-rw-r--r-- | games-emulation/nestopia/files/nestopia | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games-emulation/nestopia/files/nestopia b/games-emulation/nestopia/files/nestopia new file mode 100644 index 000000000000..e2a6b03e5948 --- /dev/null +++ b/games-emulation/nestopia/files/nestopia @@ -0,0 +1,10 @@ +#!/bin/sh + +# create dir and copy files, if needed +[ ! -d ~/.nestopia ] && mkdir ~/.nestopia +[ ! -f ~/.nestopia/nstcontrols ] && cp "%GAMES_DATADIR%/nestopia/nstcontrols" ~/.nestopia/ +[ ! -f ~/.nestopia/NstDatabase.xml ] && cp "%GAMES_DATADIR%/nestopia/NstDatabase".xml ~/.nestopia/ + +# wrap around the emu +exec nestopia.bin "$@" + |