mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
NetPlayClient: Remove a designated initializer
release-ubu-x64 currently fails with "sorry, unimplemented: non-trivial designated initializers not supported". pr-ubu-x64 doesn't for some reason, but we might as well remove the designated initializer.
This commit is contained in:
@ -2534,7 +2534,8 @@ PadDetails GetPadDetails(int pad_num)
|
|||||||
{
|
{
|
||||||
std::lock_guard lk(crit_netplay_client);
|
std::lock_guard lk(crit_netplay_client);
|
||||||
|
|
||||||
PadDetails res{.local_pad = 4};
|
PadDetails res{};
|
||||||
|
res.local_pad = 4;
|
||||||
if (!netplay_client)
|
if (!netplay_client)
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user