mirror of
https://github.com/catmeow72/b16viewer.git
synced 2024-11-24 14:28:26 -08:00
Fix off-by-one error
This commit is contained in:
parent
b7d680fd0c
commit
613139b95c
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ int uploadimage(const char *filename) {
|
|||
printf("%u palette entries significant\nstarting at %u.\n", significant_palette_entries, significant_palette_start);
|
||||
}
|
||||
imgdatastart = read16();
|
||||
--imgdatastart;
|
||||
printf("Image starts at 0-indexed offset %4x\n", imgdatastart);
|
||||
direct_to_vera = width == vera_w && height == vera_h;
|
||||
if ((int8_t)read8() == -1) {
|
||||
|
|
Loading…
Reference in a new issue