|
|
@ -43,7 +43,7 @@ Path::Path(LowPathType type, u32 size, u32 pointer) : type(type) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const std::string Path::DebugStr() const {
|
|
|
|
std::string Path::DebugStr() const {
|
|
|
|
switch (GetType()) {
|
|
|
|
switch (GetType()) {
|
|
|
|
case Invalid:
|
|
|
|
case Invalid:
|
|
|
|
default:
|
|
|
|
default:
|
|
|
@ -66,7 +66,7 @@ const std::string Path::DebugStr() const {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const std::string Path::AsString() const {
|
|
|
|
std::string Path::AsString() const {
|
|
|
|
switch (GetType()) {
|
|
|
|
switch (GetType()) {
|
|
|
|
case Char:
|
|
|
|
case Char:
|
|
|
|
return string;
|
|
|
|
return string;
|
|
|
@ -83,7 +83,7 @@ const std::string Path::AsString() const {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const std::u16string Path::AsU16Str() const {
|
|
|
|
std::u16string Path::AsU16Str() const {
|
|
|
|
switch (GetType()) {
|
|
|
|
switch (GetType()) {
|
|
|
|
case Char:
|
|
|
|
case Char:
|
|
|
|
return Common::UTF8ToUTF16(string);
|
|
|
|
return Common::UTF8ToUTF16(string);
|
|
|
@ -99,7 +99,7 @@ const std::u16string Path::AsU16Str() const {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const std::vector<u8> Path::AsBinary() const {
|
|
|
|
std::vector<u8> Path::AsBinary() const {
|
|
|
|
switch (GetType()) {
|
|
|
|
switch (GetType()) {
|
|
|
|
case Binary:
|
|
|
|
case Binary:
|
|
|
|
return binary;
|
|
|
|
return binary;
|
|
|
|