mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Specify a custom logo file to use instead of the Nintendo logo (#1400)
Fixes #1398
This commit is contained in:
BIN
test/fix/custom-logo.1bpp
Normal file
BIN
test/fix/custom-logo.1bpp
Normal file
Binary file not shown.
BIN
test/fix/custom-logo.bin
Normal file
BIN
test/fix/custom-logo.bin
Normal file
Binary file not shown.
1
test/fix/custom-logo.err
Normal file
1
test/fix/custom-logo.err
Normal file
@@ -0,0 +1 @@
|
||||
warning: Overwrote a non-zero byte in the logo
|
||||
1
test/fix/custom-logo.flags
Normal file
1
test/fix/custom-logo.flags
Normal file
@@ -0,0 +1 @@
|
||||
-f l -L custom-logo.1bpp
|
||||
BIN
test/fix/custom-logo.gb
Normal file
BIN
test/fix/custom-logo.gb
Normal file
Binary file not shown.
@@ -38,7 +38,10 @@ tryCmp () {
|
||||
}
|
||||
|
||||
runTest () {
|
||||
flags="$(head -n 1 "$2/$1.flags")" # Allow other lines to serve as comments
|
||||
flags=$(
|
||||
head -n 1 "$2/$1.flags" | # Allow other lines to serve as comments
|
||||
sed "s#-L #-L ${src//#/\\#}/#g" # Prepend src directory to logo file
|
||||
)
|
||||
|
||||
for variant in '' ' piped'; do
|
||||
(( tests++ ))
|
||||
|
||||
Reference in New Issue
Block a user