diff --git a/resources/openomf.bk b/resources/openomf.bk index 834d529fc..ca2565038 100644 Binary files a/resources/openomf.bk and b/resources/openomf.bk differ diff --git a/resources/openomf.png b/resources/openomf.png index b8e453e06..0c4e1aa90 100644 Binary files a/resources/openomf.png and b/resources/openomf.png differ diff --git a/src/formats/palette.c b/src/formats/palette.c index 488a0e46a..6c2a888b6 100644 --- a/src/formats/palette.c +++ b/src/formats/palette.c @@ -195,7 +195,9 @@ void palette_save(sd_writer *writer, const vga_palette *pal) { } void palette_remaps_save(sd_writer *writer, const vga_remap_tables *remaps) { - sd_write_buf(writer, (char *)remaps, sizeof(vga_remap_tables)); + if(remaps) { + sd_write_buf(writer, (char *)remaps, sizeof(vga_remap_tables)); + } } void palette_load_player_colors(vga_palette *src, int player) {