Commit b2c3268d authored by Ben Avison's avatar Ben Avison
Browse files

Bugfix: if a >=256-colour sprite icon is plotted, and then a shaded and/or...

Bugfix: if a >=256-colour sprite icon is plotted, and then a shaded and/or selected text-plus-sprite icon is plotted, where the sprite in the latter icon is unspecified (no validation string, or no 'S' command), then a SpriteOp call from within ColourTrans data aborts. This caused aborts when certain rectangles of the ImageFS options window were redrawn.

Version 4.13. Not tagged
parent 11eaef5f
......@@ -8,5 +8,5 @@
Module_MajorVersion SETS "4.13"
Module_Version SETA 413
Module_MinorVersion SETS ""
Module_Date SETS "27 Nov 1998"
Module_Date SETS "09 Dec 1998"
END
......@@ -5,10 +5,10 @@
*/
#define Module_MajorVersion_CMHG 4.13
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 27 Nov 1998
#define Module_Date_CMHG 09 Dec 1998
#define Module_MajorVersion "4.13"
#define Module_Version 413
#define Module_MinorVersion ""
#define Module_Date "27 Nov 1998"
#define Module_Date "09 Dec 1998"
......@@ -3809,6 +3809,7 @@ calcinverse ROUT
LDR R1, sprite_log2bpp ; if <256-colour sprite without palette, we pass palette from Wimp workspace, so no problem
CMP R1, #3 ; if <256-colour sprite with palette, cachespritedata has already updated pixtable_params
BLGE cachespriteaddress ; R2 -> this sprite, ie *not* the first sprite in this run of matching-mode sprites!
EXIT VS ; bail out now if sprite not found!
CMP R1, #3
Push "R2", GE
ADR R0, pixtable_params
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment