fixes on xcode
This commit is contained in:
@@ -45,11 +45,12 @@ std::vector<std::string> Asset::list_files(std::string folder, bool is_asset, co
|
||||
|
||||
}
|
||||
#else
|
||||
std::string abs_path = folder;
|
||||
if (is_asset)
|
||||
{
|
||||
NSString* bundle_path = [[NSBundle mainBundle] resourcePath];
|
||||
std::string base = [bundle_path cStringUsingEncoding : 1];
|
||||
std::string abs_path = base + "/" + folder;
|
||||
abs_path = base + "/" + folder;
|
||||
}
|
||||
|
||||
DIR *dp;
|
||||
|
||||
Reference in New Issue
Block a user