add xmp injection and disable some log messages

This commit is contained in:
2017-09-27 23:02:39 +01:00
parent 90ec0b6f7b
commit 2c0007c3c1
7 changed files with 59 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ std::vector<std::string> Asset::list_files(std::string folder, bool is_asset, co
bool Asset::open(const char* path)
{
LOG("Asset::open %s", path);
//LOG("Asset::open %s", path);
m_current_path = path;
std::string file_path = path;
#ifdef __ANDROID__
@@ -117,7 +117,7 @@ bool Asset::open(const char* path)
std::string base = [bundle_path cStringUsingEncoding:1];
file_path = base + "/" + path;
#endif
LOG("asset file: %s", file_path.c_str());
//LOG("asset file: %s", file_path.c_str());
if (!(m_fp = fopen(file_path.c_str(), "rb")))
{
LOG("errno = %d", errno);