-
Robert Sprowson authored
During the original development (referred to in the docs as Sprite Extend 2) JPEG data was briefly wrapped inside a sprite file before the JPEG_ swis were introduced. Within SpriteExtend some code still remained to fake a mode 20 sprite header with the JPEG output sized adjusted as though it was 4bpp, then later undo the faking by checking for a mode 20 sprite with is_it_jpeg set. This version removes all of the code looking out for pilot JPEGs, and rationalises the fake sprite header to just report the true X/Y size. Fix bug where r4 would be corrupted on exit from JPEG_PlotScaled if an error occurred, and generally rationalised the exit cases a bit more sensibly. Made the JPEG_ swi despatch a bit more simple to follow. Corrected a comment in the NSM_bpptable. Deleted unused 'ecfspace' from the workspace. Hid the 'macroword' from the C code as it's now an assembler only value. Cut the initial comments from c/putscaled and placed in Docs. Cut the debug tracing code (a notable %age) from c/putscaled and placed in tracing support file. Simplified the entry to putscaled_compiler() now we don't have to look out for pilot format JPEGs within sprites any more. Sprinkled in some block comments to make navigating the c/putscaled file a bit easier. Version 1.30. Tagged as 'SprExtend-1_30'
1a4e51bd