Merge pull request #431 from max-m/sdl-fix-palette-load

[SDL] Fix loading of the configured DMG palette
This commit is contained in:
Lior Halphon 2022-01-20 20:43:40 +02:00 committed by GitHub
commit 95153af1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -831,7 +831,7 @@ int main(int argc, char **argv)
configuration.highpass_mode %= GB_HIGHPASS_MAX; configuration.highpass_mode %= GB_HIGHPASS_MAX;
configuration.model %= MODEL_MAX; configuration.model %= MODEL_MAX;
configuration.sgb_revision %= SGB_MAX; configuration.sgb_revision %= SGB_MAX;
configuration.dmg_palette %= 3; configuration.dmg_palette %= 4;
configuration.border_mode %= GB_BORDER_ALWAYS + 1; configuration.border_mode %= GB_BORDER_ALWAYS + 1;
configuration.rumble_mode %= GB_RUMBLE_ALL_GAMES + 1; configuration.rumble_mode %= GB_RUMBLE_ALL_GAMES + 1;
configuration.color_temperature %= 21; configuration.color_temperature %= 21;