mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Windows: log more descriptive errors
This commit is contained in:
parent
8409979dc5
commit
92ae57c9ee
8 changed files with 28 additions and 10 deletions
|
@ -503,7 +503,7 @@ int main(int argc, char** argv)
|
|||
WSADATA wsa_data{};
|
||||
if (const int res = WSAStartup(MAKEWORD(2, 2), &wsa_data); res != 0)
|
||||
{
|
||||
report_fatal_error(fmt::format("WSAStartup failed (error=%s)", fmt::win_error_to_string(res, nullptr)));
|
||||
report_fatal_error(fmt::format("WSAStartup failed (error=%s)", fmt::win_error{static_cast<unsigned long>(res), nullptr}));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue