mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
ff8148dd92
Also move colorutil.cpp/h linking build fix experiment Delete a bunch of unused CMakeLists.txt files CMakeLists.txt linking fix Don't include NativeApp.h from any headers. Android.mk buildfix Half of the UWP fix Buildfix Minor project file cleanup Buildfixes Guess what? More buildfixes!
12 lines
320 B
C++
12 lines
320 B
C++
#pragma once
|
|
|
|
#include "Common/Data/Encoding/Utf8.h"
|
|
|
|
inline Platform::String ^ToPlatformString(std::string str) {
|
|
return ref new Platform::String(ConvertUTF8ToWString(str).c_str());
|
|
}
|
|
|
|
inline std::string FromPlatformString(Platform::String ^str) {
|
|
std::wstring wstr(str->Data());
|
|
return ConvertWStringToUTF8(wstr);
|
|
} |