File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ BLARGG_URL=http://gbdev.gg8.se/files/roms/blargg-gb-tests
1010
1111# This the official build of the latest mooneye hardware tests
1212# (https://github.com/Gekkio/mooneye-gb)
13- MOONEYE_URL=https://gekkio.fi/files/mooneye-gb/latest
13+ MOONEYE_URL=https://gekkio.fi/files/mooneye-test-suite/mts-20240926-1737-443f6e1
1414
1515ROOT_DIR=$( dirname $0 )
1616
@@ -24,6 +24,10 @@ function download_package {
2424 wget $2 /$3 .zip -O $TEMPFILE
2525 unzip $TEMPFILE -d $ROOT_DIR /$1
2626 rm -f $TEMPFILE
27+ if [ -e $ROOT_DIR /$1 /$3 ]; then
28+ mv $ROOT_DIR /$1 /$3 /* $ROOT_DIR /$1 /
29+ rmdir $ROOT_DIR /$1 /$3
30+ fi
2731 touch $ROOT_DIR /$1 /$3
2832 fi
2933}
@@ -32,4 +36,4 @@ download_package blargg_test_roms $BLARGG_URL cpu_instrs
3236download_package blargg_test_roms $BLARGG_URL instr_timing
3337download_package blargg_test_roms $BLARGG_URL oam_bug
3438download_package blargg_test_roms $BLARGG_URL dmg_sound
35- download_package mooneye_test_roms $MOONEYE_URL mooneye-gb_hwtests
39+ download_package mooneye_test_roms $MOONEYE_URL mts-20240926-1737-443f6e1
You can’t perform that action at this time.
0 commit comments