mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
We no longer use TCHAR.
This commit is contained in:
@@ -28,12 +28,6 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#include <tchar.h>
|
||||
|
||||
#endif // _WIN32
|
||||
|
||||
// Byteswapping
|
||||
#ifndef ARRAY_SIZE
|
||||
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
|
||||
@@ -71,9 +65,3 @@ inline uint64_t swap64(const uint8_t* _pData) {return swap64(*(const uint64_t*)_
|
||||
#else
|
||||
#define __THREAD __thread
|
||||
#endif
|
||||
|
||||
// For really basic windows code compat
|
||||
#ifndef _TCHAR_DEFINED
|
||||
typedef char TCHAR;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -56,13 +56,13 @@ HWND CreateHiddenWindow() {
|
||||
LoadCursor(NULL, IDC_ARROW),
|
||||
(HBRUSH) GetStockObject(BLACK_BRUSH),
|
||||
NULL,
|
||||
_T("PPSSPPHeadless"),
|
||||
L"PPSSPPHeadless",
|
||||
NULL,
|
||||
};
|
||||
RegisterClassEx(&wndClass);
|
||||
|
||||
DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_POPUP;
|
||||
return CreateWindowEx(0, _T("PPSSPPHeadless"), _T("PPSSPPHeadless"), style, CW_USEDEFAULT, CW_USEDEFAULT, WINDOW_WIDTH, WINDOW_HEIGHT, NULL, NULL, NULL, NULL);
|
||||
return CreateWindowEx(0, L"PPSSPPHeadless", L"PPSSPPHeadless", style, CW_USEDEFAULT, CW_USEDEFAULT, WINDOW_WIDTH, WINDOW_HEIGHT, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
void WindowsHeadlessHost::LoadNativeAssets()
|
||||
|
||||
Reference in New Issue
Block a user