Commit 77e35785 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix caching of backdrop sprites

Detail:
  s/Backdrop - The tidying up in revision 4.8 caused a vital "MOV r0,#-1" to be lost, causing the wrong mode to be used when fetching the screen BPP. As a result, caching the sprite would fail if the sprite was in a lower BPP than the current screen mode, as the calculated sprite area size would have been too small. This fixes that.
Admin:
  Tested on rev A2 BB-xM.
  Sprite backdrops now seem to work again.


Version 0.94. Tagged as 'Pinboard-0_94'
parent 988bb75f
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.93"
Module_Version SETA 93
Module_MajorVersion SETS "0.94"
Module_Version SETA 94
Module_MinorVersion SETS ""
Module_Date SETS "24 Sep 2011"
Module_ApplicationDate SETS "24-Sep-11"
Module_Date SETS "28 Sep 2011"
Module_ApplicationDate SETS "28-Sep-11"
Module_ComponentName SETS "Pinboard"
Module_ComponentPath SETS "castle/RiscOS/Sources/Desktop/Pinboard"
Module_FullVersion SETS "0.93"
Module_HelpVersion SETS "0.93 (24 Sep 2011)"
Module_FullVersion SETS "0.94"
Module_HelpVersion SETS "0.94 (28 Sep 2011)"
END
/* (0.93)
/* (0.94)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.93
#define Module_MajorVersion_CMHG 0.94
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 24 Sep 2011
#define Module_Date_CMHG 28 Sep 2011
#define Module_MajorVersion "0.93"
#define Module_Version 93
#define Module_MajorVersion "0.94"
#define Module_Version 94
#define Module_MinorVersion ""
#define Module_Date "24 Sep 2011"
#define Module_Date "28 Sep 2011"
#define Module_ApplicationDate "24-Sep-11"
#define Module_ApplicationDate "28-Sep-11"
#define Module_ComponentName "Pinboard"
#define Module_ComponentPath "castle/RiscOS/Sources/Desktop/Pinboard"
#define Module_FullVersion "0.93"
#define Module_HelpVersion "0.93 (24 Sep 2011)"
#define Module_LibraryVersionInfo "0:93"
#define Module_FullVersion "0.94"
#define Module_HelpVersion "0.94 (28 Sep 2011)"
#define Module_LibraryVersionInfo "0:94"
......@@ -462,6 +462,7 @@ Int_CacheBackdropSprite ROUT
STR r2,scale_x1
Debug bd,"Width in OS units is ",r4
MOV r0,#-1
MOV r1,#VduExt_Log2BPP
SWI XOS_ReadModeVariable ; Get Log2BPP for current mode
......
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