mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-15 11:48:33 +00:00
![Henrik Rydgård](/assets/img/avatar_default.png)
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);
|
|
} |