mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-08 05:33:28 +02:00
Sample renderWidth/pixelWidth/height once per frame for the framebuffer manager.
This commit is contained in:
@@ -21,11 +21,13 @@
|
||||
#define strcasecmp _stricmp
|
||||
|
||||
void OutputDebugStringUTF8(const char *p) {
|
||||
wchar_t temp[2048];
|
||||
int len = std::min(2047, (int)strlen(p));
|
||||
wchar_t temp[4096];
|
||||
|
||||
int len = std::min(4095, (int)strlen(p));
|
||||
int size = (int)MultiByteToWideChar(CP_UTF8, 0, p, len, NULL, 0);
|
||||
MultiByteToWideChar(CP_UTF8, 0, p, len, temp, size);
|
||||
temp[size] = 0;
|
||||
|
||||
OutputDebugString(temp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user