mirror of
https://github.com/catmeow72/b16viewer.git
synced 2024-11-24 06:28:24 -08:00
Update to rev5a
This commit is contained in:
parent
7530376cce
commit
b7d680fd0c
1 changed files with 2 additions and 2 deletions
|
@ -172,12 +172,12 @@ int uploadimage(const char *filename) {
|
||||||
if ((int8_t)read8() == -1) {
|
if ((int8_t)read8() == -1) {
|
||||||
compress = true;
|
compress = true;
|
||||||
};
|
};
|
||||||
|
// Load the border color
|
||||||
|
borderidx = read8();
|
||||||
printf("Skipping reserved bytes...\n");
|
printf("Skipping reserved bytes...\n");
|
||||||
for (i = 0; i < 16; i++) {
|
for (i = 0; i < 16; i++) {
|
||||||
read8();
|
read8();
|
||||||
}
|
}
|
||||||
// Load the border color
|
|
||||||
borderidx = read8();
|
|
||||||
printf("Border color: %02x\n", borderidx);
|
printf("Border color: %02x\n", borderidx);
|
||||||
printf("Reading palette entries...\n");
|
printf("Reading palette entries...\n");
|
||||||
for (i = 0; i < (uint16_t)significant_palette_entries*2; i++) {
|
for (i = 0; i < (uint16_t)significant_palette_entries*2; i++) {
|
||||||
|
|
Loading…
Reference in a new issue