mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
use fileSystemRepresentationWithPath on Asset files
This commit is contained in:
parent
f7f6f9b5a2
commit
cb184cfa6d
2 changed files with 2 additions and 10 deletions
|
@ -690,7 +690,6 @@
|
|||
3B10EC6C2568E5EA00372D13 /* Source */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3B10EE112568E9FF00372D13 /* Temp */,
|
||||
3B10ED342568E95D00372D13 /* src */,
|
||||
3B10EDD52568E96A00372D13 /* binding */,
|
||||
3B10ED062568E8F100372D13 /* SDL2_sound */,
|
||||
|
@ -994,13 +993,6 @@
|
|||
path = ../binding;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3B10EE112568E9FF00372D13 /* Temp */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
);
|
||||
path = Temp;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3BA08EA5256641ED00449CFF /* misc */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -1048,8 +1040,8 @@
|
|||
3BD2B7272565B343003DAD8A /* README.md */,
|
||||
3BDB23E22564546E00C4A63D /* icon.icns */,
|
||||
3BDB240A2564715C00C4A63D /* Config.xcconfig */,
|
||||
3BDB23E12564545F00C4A63D /* Assets */,
|
||||
3BDB2409256470AE00C4A63D /* Player */,
|
||||
3BDB23E12564545F00C4A63D /* Assets */,
|
||||
3BA08EA5256641ED00449CFF /* misc */,
|
||||
3BDB22F72564501400C4A63D /* Products */,
|
||||
3BDB23E5256455A400C4A63D /* Frameworks */,
|
||||
|
|
|
@ -70,7 +70,7 @@ std::string filesystemImpl::getPathForAsset(const char *baseName, const char *ex
|
|||
if (assetPath == nil)
|
||||
throw new Exception(Exception::NoFileError, "Failed to find the asset named %s.%s", baseName, ext);
|
||||
|
||||
return std::string(getPathForAsset_internal(baseName, ext).UTF8String);
|
||||
return std::string(NSTOPATH(getPathForAsset_internal(baseName, ext)));
|
||||
}
|
||||
|
||||
std::string filesystemImpl::contentsOfAssetAsString(const char *baseName, const char *ext) {
|
||||
|
|
Loading…
Add table
Reference in a new issue