add xmp injection and disable some log messages
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user