libretro / libretro-cap32

caprice32 4.2.0 libretro
21 stars 34 forks source link

Allow user configure depth surface (by default 16bits) #115

Closed DSkywalk closed 2 years ago

DSkywalk commented 2 years ago

Some older PC graphics cards seem to only support 16-bit modes. See issue #113 CAP32 defaults to 24/32bit mode on PCs and changing this required compiling the core yourself, as it was a compile flag.

Now the colour depth can be configured from the core options, I have tried to make this affect the emulation as little as possible.

I guess this will make it even slower on 3DS :( We can explore this further if necessary.

The good part of all this work is that the 8bit mode using palette needed for the PS2 port is now closer. Maybe we could even use it for 3DS, let's see what we benefit from the change! :woman_dancing:

:warning: I have been careful but this change affects the whole emulator and I hope that no platform will experience problems with the change. I'll leave a few days of testing and if all goes well, we'll release the version.