mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-04 07:00:18 +01:00
linux (compat): Add linux to most Win64 guards
This commit is contained in:
1 parent
8cf5675892
commit
9626065598
180 files changed
+941
-935
No files matched your search
@@ -276,7 +276,7 @@ void UIScene_InGameSaveManagementMenu::tick()
|
||||
#ifdef _DURANGO
|
||||
// Already utf16 on durango
|
||||
memcpy(u16Message, m_saveDetails[m_iRequestingThumbnailId].UTF16SaveFilename, MAX_SAVEFILENAME_LENGTH);
|
||||
#elif defined(_WINDOWS64)
|
||||
#elif defined(_WINDOWS64) || defined(__linux__)
|
||||
int result = ::MultiByteToWideChar(
|
||||
CP_UTF8, // convert from UTF-8
|
||||
MB_ERR_INVALID_CHARS, // error on invalid chars
|
||||
|
||||
Reference in new issue
Block a user