mirror of
https://github.com/catmeow72/b16viewer.git
synced 2024-11-24 22:38:26 -08:00
Compare commits
2 commits
b7d680fd0c
...
10910060ec
Author | SHA1 | Date | |
---|---|---|---|
10910060ec | |||
613139b95c |
2 changed files with 1 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ TARGETS := cx16
|
||||||
|
|
||||||
# Name of the final, single-file executable.
|
# Name of the final, single-file executable.
|
||||||
# Default: name of the current dir with target name appended
|
# Default: name of the current dir with target name appended
|
||||||
PROGRAM := b16view
|
PROGRAM := bmxview
|
||||||
|
|
||||||
# Path(s) to additional libraries required for linking the program
|
# 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
|
# Use only if you don't want to place copies of the libraries in SRCDIR
|
||||||
|
|
|
@ -166,7 +166,6 @@ int uploadimage(const char *filename) {
|
||||||
printf("%u palette entries significant\nstarting at %u.\n", significant_palette_entries, significant_palette_start);
|
printf("%u palette entries significant\nstarting at %u.\n", significant_palette_entries, significant_palette_start);
|
||||||
}
|
}
|
||||||
imgdatastart = read16();
|
imgdatastart = read16();
|
||||||
--imgdatastart;
|
|
||||||
printf("Image starts at 0-indexed offset %4x\n", imgdatastart);
|
printf("Image starts at 0-indexed offset %4x\n", imgdatastart);
|
||||||
direct_to_vera = width == vera_w && height == vera_h;
|
direct_to_vera = width == vera_w && height == vera_h;
|
||||||
if ((int8_t)read8() == -1) {
|
if ((int8_t)read8() == -1) {
|
||||||
|
|
Loading…
Reference in a new issue