• Jeffrey Lee's avatar
    Fix RMA corruption when caching colour translation tables · f1ba0db6
    Jeffrey Lee authored
      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.
      Tested on Pandora
      Fixes "not a heap block" errors when entering desktop
    Version 5.21. Tagged as 'Wimp-5_21'
VersionASM 1010 Bytes