#!/bin/bash

####### CONF ########
ROM=$1
SCREEN=$2
PATH_ROMS=${HOME}/pyrharckade/MEDIA/GAW/ROMS/
BIN=${HOME}/pyrharckade/BIN/LIBRETRO/GAW.so
####### CONF ########
cd $PATH_ROMS

${HOME}/pyrharckade/BIN/LIBRETRO/retroarch -c ${HOME}/pyrharckade/BIN/LIBRETRO/retroarch.cfg  -L ${BIN} ${PATH_ROMS}/${ROM}.zip

###### RESTART PYR ######
cd ${HOME}/pyrharckade/
./start.py $SCREEN
###### RESTART PYR ######	
