Log In  

How to reproduce:

  • launch cart
  • set custom screen palette:
pal({140,1,139,3,4,132,133,7,6,134,5,8,2,9,10},1)
  • load data:
reload(0,0,0x4300,"cart2.p8")
  • while data gets processed, hit "pause"
  • bug: screen palette gets reset

Can be reproduced on POOM on the loading screen (https://freds72.itch.io/poom)

P#85389 2020-12-14 20:57 ( Edited 2020-12-14 21:00)

:: zep
1

Thanks @freds72 -- Fixed for 0.2.2

This is happening not because of the reload per se, but because the runtime state is reset -- including the palette -- after calling run(). In the case of POOM, there are a bunch of reload()s occurring immediately afterwards, so normally no frame is completed and the reverted palette is not shown. The pause menu was breaking this behavior by forcing a re-draw, which turned out to not be necessary.

P#85625 2020-12-21 01:05 ( Edited 2020-12-21 01:05)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-08-10 00:00:32 | 0.012s | Q:12