Fix RMA corruption when caching colour translation tables
Jeffrey Lee authored
Detail:
  s/Wimp10 - cachetoolspritedata was using two slightly different ColourTrans calls for reading the table size and then filling the table in. This was resulting in the 'generate wide table' flag sometimes being ignored when the table size was checked, resulting in too little memory being allocated and so heap corruption when the table generation call overflowed the end.
Admin:
  Tested on Pandora
  Fixes "not a heap block" errors when entering desktop


Version 5.21. Tagged as 'Wimp-5_21'
f1ba0db6
Name Last commit Last update
..
!Palette Import from cleaned 360 CD
AutoScroll Given a good thrashing.
Iconbar Given a good thrashing.
Memory Given a good thrashing.
NewSWIs Get of international module header.
Notes Spinner branch merged.
ProgErrs Import from cleaned 360 CD
RosMod Adapted assembly process so that the choice of Options file (previously based purely on the "System" variable) can be overridden by passing "OPTIONS=foo" as an argument to either MkRom, or to amu/amu_machine directly, or indirectly, by specifying it in the components file for a build. To accomplish this, it was necessary to switch from using aasm to objasm - hence the large number of source files affected in this commit.
Tiling Add support for wide translation tables for window tool furniture
Tiling3D Add support for wide translation tables for window tool furniture
Trace Add support for wide translation tables for window tool furniture
Watchdog Fixed potentially fatal bug in Watchdog.
Wimp Add support for wide translation tables for window tool furniture
Wimp01 Add support for wide translation tables for window tool furniture
Wimp02 Add support for wide translation tables for window tool furniture
Wimp03 Update Wimp to use new VFPSupport_ChangeContext_AppSpace flag
Wimp04 Add support for wide translation tables for window tool furniture
Wimp05 Fix a few nasty Wimp bugs
Wimp06 Given a good thrashing.
Wimp07 Make compatible with zero page relocation
Wimp08 Make compatible with zero page relocation
Wimp08s The application space size returned from OS_ChangeEnvironment includes the &8000 below the application slot, and our Message_MemoryMoved handler wasn't taking account of this, hence the way module tasks randomly acquired 32K wimpslots in the Task Manager! Also updates appslotsize variable on task switches, to remove some false positives.
Wimp09 Removemessages entry failed to put rma base in R2..
Wimp10 Fix RMA corruption when caching colour translation tables