mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-07 03:40:07 +00:00
Fixes setsockopt
This commit is contained in:
parent
2babe4c236
commit
073772a801
@ -2642,7 +2642,7 @@ error_code sys_net_bnet_setsockopt(ppu_thread& ppu, s32 s, s32 level, s32 optnam
|
||||
|
||||
if (optlen >= sizeof(s32))
|
||||
{
|
||||
std::memcpy(&native_int, optval_buf.data(), sizeof(s32));
|
||||
native_int = *reinterpret_cast<be_t<s32> *>(optval_buf.data());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user