Update libgambatte/libretro/libretro.cpp

This commit is contained in:
Andrea 2013-01-06 22:00:55 +01:00
parent 99c01e286a
commit 07fd2932d5

View File

@ -181,10 +181,16 @@ bool retro_load_game(const struct retro_game_info *info)
gb.setDmgPaletteColor(1, 2, rgb32);
else if(line.startswith("Sprite%2013="))
gb.setDmgPaletteColor(1, 3, rgb32);
///...
}
}
else if(line.startswith("Sprite%2020="))
gb.setDmgPaletteColor(2, 0, rgb32);
else if(line.startswith("Sprite%2021="))
gb.setDmgPaletteColor(2, 1, rgb32);
else if(line.startswith("Sprite%2022="))
gb.setDmgPaletteColor(2, 2, rgb32);
else if(line.startswith("Sprite%2023="))
gb.setDmgPaletteColor(2, 3, rgb32);
} // endfor
palette_file.close();
return(false);
}