General FreeBASIC programming questions.
3 posts • Page 1 of 1
My game runs in 8-bit and I never make any calls to edit or alter the palette at any time, but sometimes I hear some brief disk reads and then my palette has some colors that are changed, mostly slots 0 to 7 and 250-255. I think Windows is doing this, so how can I prevent this? I'm not using all 256 slots, so I could just redraw my art so it doesn't use color slots 0-15 and 240-255 just to be safe, but damn! I'm using the Allegro lib.
I think it was my Auto wallpaper changer running in the background. Every 10 minutes it would change the desktop wallpaper, so I think it would access the palette. I turned it off and it seems to have stopped. Once it changed the Entire palette, so moving my colors away from 0-15 and 240-255 won't prevent it. I think this only occurs if I run my app in fullscreen.