diff --git a/.gitignore b/.gitignore index 7951577..07d4bb4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build/* +assets/vita/eboot.bin *.vpk *.elf *.elf.unstripped.elf @@ -6,4 +7,4 @@ build/* *.nro *.nacl *.sfo -*.bin \ No newline at end of file +*.bin diff --git a/assets/vita/eboot.bin b/assets/vita/eboot.bin deleted file mode 100644 index 45628ff..0000000 Binary files a/assets/vita/eboot.bin and /dev/null differ diff --git a/source/image.c b/source/image.c index acec7d6..710ee81 100644 --- a/source/image.c +++ b/source/image.c @@ -107,8 +107,9 @@ byte *Image_LoadImage (const char *name, int *width, int *height) q_snprintf (loadfilename, sizeof(loadfilename), "%s.tga", name); COM_FOpenFile (loadfilename, &f, NULL); - if (f) + if (f) { return Image_LoadSTBI (f, width, height); + } q_snprintf (loadfilename, sizeof(loadfilename), "%s.png", name); COM_FOpenFile (loadfilename, &f, NULL);