Compare commits

..

No commits in common. "10910060ecb499d3da33f66b11a8dc2c2df3ea13" and "b7d680fd0c6e82d78df5427583a0a51146ae2d78" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ TARGETS := cx16
# Name of the final, single-file executable.
# Default: name of the current dir with target name appended
PROGRAM := bmxview
PROGRAM := b16view
# Path(s) to additional libraries required for linking the program
# Use only if you don't want to place copies of the libraries in SRCDIR

View file

@ -166,6 +166,7 @@ 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) {