add iOS and macOS icons

This commit is contained in:
2019-09-23 18:06:20 +02:00
parent 3f28fd9229
commit cfdf428a9b
26 changed files with 173 additions and 38 deletions

View File

@@ -33,8 +33,11 @@ bool Asset::exist(std::string path)
}
else
{
std::ifstream f(path, std::ios::binary);
return f.is_open();
FILE* fp = fopen(path.c_str(), "rb");
if (!fp)
return false;
fclose(fp);
return true;
}
return false; // useless return for the stupid xcode
}