Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
I have this problem since the beginning, but never found time to post it here.
In one of the demo programs, which I studied for the CMM2, a screenshot function was implemented, using save image. I was rather enthusiastic about this feature, so I implemented it in my games, too.
All worked fine until I use 8-bit color mode. In this mode most of the screenshots failed, but interestingly, not all.
It failed also in an awkward way: Only some colors were disrupted or the brightness was set to the lowest level. I attached a screenshot to give you an impression of both effects.
I suppose this has something to do with the CLUT and its write-only feature, but why does it sometimes work and at least some of the custom colors are used in the picture?
I'm totally puzzled. Does anyone of you have an explanation of this? It could also have something to do with the position in the code. My screenshot command is at the end of the main loop, just after everything has been copied to DISPLAY_PAGE.
It's funny to put it somewhere else. Then certain parts of the picture are missing in the screen shot, but this was clearly my mistake, so ignore it ;-)