mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
Fixes setsockopt
This commit is contained in:
parent
2babe4c236
commit
073772a801
1 changed files with 1 additions and 1 deletions
|
@ -2642,7 +2642,7 @@ error_code sys_net_bnet_setsockopt(ppu_thread& ppu, s32 s, s32 level, s32 optnam
|
||||||
|
|
||||||
if (optlen >= sizeof(s32))
|
if (optlen >= sizeof(s32))
|
||||||
{
|
{
|
||||||
std::memcpy(&native_int, optval_buf.data(), sizeof(s32));
|
native_int = *reinterpret_cast<be_t<s32> *>(optval_buf.data());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue