mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 23:29:17 +00:00
parent
04d299a418
commit
2c51b34f3c
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ char* DecodeError(int ErrorCode)
|
||||||
// (And of course, free the buffer when we were done with it)
|
// (And of course, free the buffer when we were done with it)
|
||||||
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS |
|
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS |
|
||||||
FORMAT_MESSAGE_MAX_WIDTH_MASK, NULL, ErrorCode,
|
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;
|
return Message;
|
||||||
#else
|
#else
|
||||||
return strerror(ErrorCode);
|
return strerror(ErrorCode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue