Maximilian Mader 13e0b90b47
[SDL] Fix loading of the configured DMG palette
There are four options for the DMG color palette:
- Greyscale
- Lime (Game Boy)
- Olive (Pocket)
- Teal (Light)

When loading the configuration from the `prefs.bin`
the configured `dmg_palette` gets normalized by applying
`mod 3` to it, limiting the possible values to [ 0, 1, 2 ],
thus selecting the “Teal” color palette will be saved as such,
but the next time the config gets loaded it gets reset to Greyscale.
2022-01-20 19:15:08 +01:00
..
2020-05-10 22:16:49 +03:00
2017-12-27 23:20:06 +02:00
2021-10-23 23:28:54 +03:00
2020-04-24 20:37:57 +03:00
2020-03-26 20:54:18 +02:00
2021-02-27 14:32:07 +02:00
2021-02-27 14:32:07 +02:00