#!/bin/rc
rfork e
res=(593 599 839 767)
while(~ $1 -*){
if(~ $1 -2)
res=(827 873 1314 1200)
args=($args $1)
shift
}
game=$1
if(! ~ $game /*)
game=`{pwd}^/$game
args=($args $game)
window -r $res 'label gba '$1'; games/gba -b /usr/sl/games/gba/gba_bios.bin '$"args
|