- [NEW] Afegit missatge descriptiu si no es troba un require

This commit is contained in:
JailDoctor committed 2023-08-31 23:41:07 +02:00
1 parent 135db2c5e0
commit d1f13a0036
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -123,6 +123,10 @@ FILE *file_getfilepointer(const char *resourcename, int& filesize, const bool bi
fseek(f, data_file->index.file_info[count].offset, SEEK_SET);
} else {
f = fopen(file_getfilenamewithfolder(resourcename), binary?"rb":"r");
if (not f) {
printf("ERROR: No s'ha pogut obrir l'arxiu '%s'\n",resourcename);
exit(1);
}
fseek(f, 0, SEEK_END);
filesize = ftell(f);
fseek(f, 0, SEEK_SET);
+1 -1
View File
@@ -1,3 +1,3 @@
#pragma once
#define MINI_VERSION "0.9.79d"
#define MINI_VERSION "0.9.80d"