mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-10 19:47:40 +01:00
Revert "How did this ever work?"
This reverts commit 04d299a418e655e40d7f07f7f8e82bd991e0ad6d.
This commit is contained in:
parent
04d299a418
commit
2c51b34f3c
@ -681,7 +681,7 @@ char* DecodeError(int ErrorCode)
|
||||
// (And of course, free the buffer when we were done with it)
|
||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS |
|
||||
FORMAT_MESSAGE_MAX_WIDTH_MASK, NULL, ErrorCode,
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPSTR)Message, 1024, NULL);
|
||||
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPWSTR)Message, 1024, NULL);
|
||||
return Message;
|
||||
#else
|
||||
return strerror(ErrorCode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user