frontend: add memcard change and exe run support
[pcsx_rearmed.git] / pandora / pcsx.sh
... / ...
CommitLineData
1#!/bin/sh
2
3# stupid nub mode thing
4nub0mode=`cat /proc/pandora/nub0/mode`
5nub1mode=`cat /proc/pandora/nub1/mode`
6echo absolute > /proc/pandora/nub0/mode
7echo absolute > /proc/pandora/nub1/mode
8
9./pcsx "$@"
10
11# restore stuff if pcsx crashes
12./picorestore
13
14echo "$nub0mode" > /proc/pandora/nub0/mode
15echo "$nub1mode" > /proc/pandora/nub1/mode