Mercurial > repos > blastem
view build_nightly @ 1305:5ceb316c479a
Allow games to be specified in ROM DB via sha1 instead of product ID. Added a new ROM DB memory map device type fixed for emulating simple fixed value copy protection registers. Used those two features to support Ya Se Chuan Shuo via a ROM DB entry.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 29 Mar 2017 00:29:44 -0700 |
parents | 8e3adc6264d3 |
children | 866577a220e6 |
line wrap: on
line source
#!/bin/sh set -e build_user=$1 needsu=$2 if [ "$needsu" = needsu ]; then su $build_user -c "$0 $1"; exit fi cd /home/$build_user/blastem hg revert -a hg pull hg up rev=`hg summary | sed -E -n 's/^parent: [^:]+:([^ ]+) .*$/\1/p'` sed -i -E "s/(define BLASTEM_VERSION \"[^-]+)-pre\"/\1-pre-$rev\"/" blastem.c ./build_release