Initial commit
This commit is contained in:
12
backends/platform/n64/pad_rom.sh
Normal file
12
backends/platform/n64/pad_rom.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
TARGET=$1
|
||||
BASESIZE=2097152
|
||||
|
||||
CARTSIZE=`ls -l $1 | cut -d" " -f5`
|
||||
|
||||
REMAINDER=`echo $CARTSIZE % $BASESIZE | bc`
|
||||
REMAINDER=`echo $BASESIZE - $REMAINDER | bc`
|
||||
CARTSIZE=`echo $CARTSIZE + $REMAINDER | bc`
|
||||
|
||||
ucon64 -q --n64 --v64 --chk --padn=$CARTSIZE $1
|
||||
Reference in New Issue
Block a user