From 1f6337fc1f132b143e418560dbadfbafb83423f2 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 20 Dec 2023 02:12:12 -0800 Subject: [PATCH] CInema: Fix xbaseline differences being ignored with no baseline --- .../misc/boot_div-cgb0/xbaseline_0000.png | Bin 1444 -> 1438 bytes src/platform/test/cinema-main.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/cinema/gb/mooneye-gb/misc/boot_div-cgb0/xbaseline_0000.png b/cinema/gb/mooneye-gb/misc/boot_div-cgb0/xbaseline_0000.png index b9d24cc3a6b7aa103cba20524a151a49314d4cec..767dc72dd2561e99aa924f87fdfa2b5052c4407a 100644 GIT binary patch delta 1324 zcmV+{1=ISZ3!V#*B!6W|L_t(|ob8?6ma8BPh4HMu|0{bgI>WG#guhV2?*4A3qc)~) zQ9`0z_k9O~%fHEQX;Cod;FqgpSjo>WmC?0rT=6aOIPoK=Az#q zGgXwk#+dzYX7+q%i*e4YzDWtTm{VZ;1BWA7;80+2C@?q_7#s==4h05>0)sO+&=Hb^ z(xeAPJ0=4u*?&0suql1q)OnI)T;O#)^Mk{ttd4s%mFafKcF-;ThqeFOryav1Rn1s5 z?rR`l?uXe+bdj##*`9D5pqlRNwc}Gog%N?R&fKD%EM@8WfTpgx^>fKRc>c!unQT?p zt)%FW|4I_4=N++vaWFW8_u%;1a~y1FCzSj&uP0x@;D0@MX(!04ll6hln*Yw=;3fL{ zrCRM=wG(^J>5{mCiMo=V89z^9NelK92kV^T=L|bLS+QB9jU#I%!-v(%j^yVlEUBt= z5(ii9%-=ZuSC=~N8W1ZO2ZQ4=4qlPRow1WzTjA$YJjTJn?qIDx=srbF*_>>UvN4|- z$@1gpI)9c3JRe_vrUm=)a~(TNc8;is2uwB>&0Y!8+A+(Mjukyo{P8?Gy}2%0il@C5vng@EXLZATCres8Q_Plr{TAM{WWs#W zUFdw((C3*Q$qFU0+x6I65pjy2GkEM|DFq&+mw)|3mG2LW>W%e$fXOBLy~^#0=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IE#}F%6~-1^BV)?Qao*v4>m-J`#q~0#s^u_+L2@J=Ru4?BeGL9)AZ}Thtrx!uqMo>%*jaV?7^W(nVjZ z+@6R|-6B?a?4pSw6c`)|3=RbbhXR8`fx)4`;80+2C@?sG0*~ik&GF{Xj+E!3rD<3x z(-%LtR-`^LnMUFz(J zQ$Nj~LrwX7{p7pbFZ%f&e%@WE95|_TCc9iYj(1UQd>8Czm%p|t7p}og7vQt~eMiw+ z&Bh(}Uw#1&%m>56IFnohEq@dkoW;+JR;nbGU6?$2p$WwwrKrzCA=t|2MOQu>t9uvE zx?Nj8w_xRalcpZEnsU!^KM(isQ(FJtq-PiRwc|DD=Y6?byu9K)Vf;aBNlE=+57Bxj zN4=l3S^2!^_=Ksr} z+2!L|8hwtp-o9at{-$Wj1|`w0-x=JR0n{bTo^~A-9f|*yzU@x!TUQcJ^?gdMEllq@ zM#$QclJ<}k1XiRnx$_`status == CI_ERROR) { break; } - bool failed = false; + bool failed = true; if (baselineFound) { int max = 0; failed = !_compareImages(test, &image, &expected, &max, diffs ? &diff : NULL);